-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
✨ Add Patches field in InitConfiguration and JoinConfiguration #5897
Conversation
Welcome @asifdxtreme! |
Hi @asifdxtreme. 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/test-infra repository. |
/ok-to-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.
I think the new fields must also be added to the bootstrap/kubeadm/types/upstreamv1beta3
types. The test failures seem to indicate the same.
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.
@asifdxtreme thanks for your first PR to Cluster API 🎉
A couple of nits on the field description. Also, conversion and conversions to/from following API should be updated according to those changes:
- older version of the CABPK API (v1alpha3, v1alpha4)
- all the version of upstram kubeam API (v1beta1, v1beta2, v1beta3)
98cb3c8
to
38218f0
Compare
7fca6fa
to
e88bd16
Compare
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.
Looks great! A few nits, otherwise lgtm from me
/cc @fabriziopandini
2337348
to
b5ceebe
Compare
Thank you! PTAL @fabriziopandini |
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
@vincepri @CecileRobertMichon @enxebre PTAL
This PR exposes a feature available in kubeadm starting from K8s 1.22 version onwards, the Patches
field in the kubeadm InitConfiguration
and JoinConfiguration
.
NOTE: the field is silently ignored if specified for an older version of Kubernetes, but I'm leaning towards +1 given that I consider using kubeadm patches an advanced use case
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: vincepri 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 |
b5ceebe
to
daea2f8
Compare
/lgtm |
What this PR does / why we need it:
This PR adds the Patches field for InitConfiguration and JoinConfiguration which were recently added in kubernetes over here
Which issue(s) this PR fixes :
Fixes #4874