-
Notifications
You must be signed in to change notification settings - Fork 1.4k
⚠️ Add CAPD v1beta2 types #12226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
⚠️ Add CAPD v1beta2 types #12226
Conversation
460f731
to
7d9165a
Compare
/retest |
1b0013c
to
b7cd65f
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
6f62bc7
to
4c79b74
Compare
Just merged the API move PR |
32a61b5
to
920acaa
Compare
@@ -38,8 +38,8 @@ import ( | |||
clusterv1beta1 "sigs.k8s.io/cluster-api/api/core/v1beta1" | |||
runtimehooksv1 "sigs.k8s.io/cluster-api/api/runtime/hooks/v1alpha1" | |||
"sigs.k8s.io/cluster-api/exp/runtime/topologymutation" | |||
infrav1 "sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1beta1" | |||
infraexpv1 "sigs.k8s.io/cluster-api/test/infrastructure/docker/exp/api/v1beta1" | |||
infrav1 "sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1beta2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should stay on v1beta1 for now (similar the corresponding test file)
Please rebase after #12282 is merged
@sivchari Sorry can you do another rebase? I'll try to find time to review this soon |
587f90a
to
70a949c
Compare
70a949c
to
e178b92
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sivchari first of all thanks for this PR, this is really helping in easing some pressure on core maintainers.
Second, kudos! introducing an API version and setting up conversions is not easy, and you did it very well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: might be worth to align import restrinctions to change introduced by #12302
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'd deal with it after #12302 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
func (*DockerCluster) Hub() {} | ||
func (*DockerClusterTemplate) Hub() {} | ||
func (*DockerMachine) Hub() {} | ||
func (*DockerMachineTemplate) Hub() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also DevCluster, DevMachine and corresponding templates needs conversion now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note:
@sivchari in order to do so you need to implement Hub function in v1beta2, add convert func in v1beta1 (autogenerated conversion fuctions are already there) + tests cases for fuzz conversion test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I implemented Spoke functions and added test cases for fuzzing.
/retest |
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
f8608f3
to
23bdf4e
Compare
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Signed-off-by: sivchari <shibuuuu5@gmail.com>
23bdf4e
to
f6269ed
Compare
What this PR does / why we need it:
Part of #11947
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
/area api