-
Notifications
You must be signed in to change notification settings - Fork 96
🐛 avoid empty manager field in ControlPlaneProvider when no controlPlane and no features gates provided #735
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
🐛 avoid empty manager field in ControlPlaneProvider when no controlPlane and no features gates provided #735
Conversation
Hi @afarbos. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-operator ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/ok-to-test |
/test pull-cluster-api-operator-e2e-main |
I am not sure to follow the failure but I did found more issues like this. |
/retest |
85d448c
to
3b8db64
Compare
…lPlane and no features gates provided
3b8db64
to
0a8974f
Compare
0a8974f
to
b344000
Compare
🎉 all green! |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexander-demicev 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 |
/lgtm |
LGTM label has been added. Git tree hash: b7fe03211d6d32005142eeb0c77ec5ea76bcc59c
|
Following #681
What this PR does / why we need it:
Handle cases where manager values is present for default controlPlane provider.
This will make sure the manager field for the default control plane provider is added only if featureGates for this one are present when no controlPlane is provided (despite calling it out in the previous example).
The default controlPlane provider being
kubeadm
The last part was the miss of #681
Example with current/v0.17.0 chart:
Similar error for InfrastructureProvider and there is no workaround for metal3. I tried to set a featuregates foo true to have a valid infrastructure provider but I get this error:
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 #