-
Notifications
You must be signed in to change notification settings - Fork 1.4k
⚠️ Stop using v1beta1 status in CAPD controllers #12438
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
⚠️ Stop using v1beta1 status in CAPD controllers #12438
Conversation
67c5a0f to
11e6e27
Compare
|
/assign |
|
/retest |
df041e4 to
bea06a7
Compare
bea06a7 to
17b96b2
Compare
17b96b2 to
1565206
Compare
test/infrastructure/docker/internal/controllers/backends/docker/dockercluster_backend.go
Outdated
Show resolved
Hide resolved
test/infrastructure/docker/internal/controllers/backends/docker/dockermachine_backend.go
Outdated
Show resolved
Hide resolved
1565206 to
9bbfb2a
Compare
test/infrastructure/docker/exp/internal/controllers/dockermachinepool_controller_phases.go
Outdated
Show resolved
Hide resolved
9bbfb2a to
45d196d
Compare
|
Thank you very much!! /test pull-cluster-api-e2e-main /assign @fabriziopandini |
|
LGTM label has been added. Git tree hash: 48dba1c4d6756fc4fc100fe7b679183fb13a196c
|
fabriziopandini
left a comment
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.
Only one question from my side otherwise lgtm
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.
I have found two other possible candidates for changes in this file, could you kindly double check?
L136: should this be condition := conditions.Get(dockerMachine, infrav1.DevMachineDockerContainerProvisionedCondition)?
L241: should this be "!conditions.Has(dockerMachine, infrav1.DevMachineDockerContainerBootstrapExecSucceededCondition) {
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.
Great catch!
Thanks, fixed.
Signed-off-by: sivchari <[email protected]>
45d196d to
b2046fd
Compare
fabriziopandini
left a comment
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.
/lgtm
/approve
|
LGTM label has been added. Git tree hash: a76f8bf3c6ad5529266e8e347293bbed725a86f1
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
| if !conditions.Has(dockerMachine, infrav1.DevMachineDockerContainerBootstrapExecSucceededCondition) { | ||
| condition := v1beta1conditions.Get(dockerMachine, infrav1.BootstrapExecSucceededV1Beta1Condition) | ||
| if condition == nil || condition.Status == corev1.ConditionTrue { | ||
| condition := conditions.Get(dockerMachine, infrav1.DevMachineDockerContainerBootstrapExecSucceededCondition) |
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.
I think we have to revert this one. See the godoc comment directly above
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.
xref: #12450
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 #