-
Notifications
You must be signed in to change notification settings - Fork 578
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
🐛 Remove Helm condition for AWS VPC CNI deletion #5009
Conversation
|
Welcome @jas-nik! |
Hi @jas-nik. 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. |
/assign @nrb @richardcase |
/ok-to-test |
50a8860
to
c3d33c5
Compare
@richardcase - Done. Added a label |
/milestone v2.6.0 |
/lgtm We probably need to document the label in the future. |
Updated |
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.
Minor wording comments, otherwise
/lgtm
@jas-nik - thanks for the updates. Could you resolve the 2 open items and then i think we are good to go. Thank you so much for this. |
/retest |
There was previous lgtm (and only a comment change) so: /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardcase 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Recently, AWS changed the way VPC CNI is installed from manifest apply to managing it via Helm (ref: aws/amazon-vpc-cni-k8s#2763 (comment)). This makes
AWSManagedControlPlane.Spec.VpcCni.Disable
flag obsolete due to theapp.kubernetes.io/managed-by: Helm
condition in deleteCNI flow.This PR removes that condition to make the flag functional.
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 # 4743
Special notes for your reviewer:
For users replacing the default VPC CNI with their own helm-managed VPC CNI - They will need to set
AWSManagedControlPlane.Spec.VpcCni.Disable
tofalse
(default) OR set label on VPC CNI resource"prevent-deletion": "true"
Checklist:
Release note: