-
Notifications
You must be signed in to change notification settings - Fork 580
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
Relax the AWSManagedControlPlane version regex and remove normalising the version #3682
Relax the AWSManagedControlPlane version regex and remove normalising the version #3682
Conversation
@Skarlso: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The 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 |
/test pull-cluster-api-provider-aws-e2e-eks |
@Skarlso Since you a member of kubernetes-sigs, there is no need for the ok-to-test label, your changes would be tested automatically. |
@Ankitasw Ah! Okay, thank you! :) I thought it's always required. :D Cheers. :) |
This will need to go into v1beta2 as its a change to the API (i.e. the format/validation). Tagging in #2355 so that we know this is linked to api changes. |
Although thinking about it the regex is backwards compatible so if someone already has |
Yep :nod:. |
/lgtm |
I'll leave this to @sedefsavas to approve: /assign sedefsavas |
/approve |
[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:
Removes the normalisation we perform for the version given to the AWSManagedControlPlane object. EKS requires a major.minor version format and we did that by truncating any given version and having a regex validation for the version being major.minor.
This, however, lead to us editing the spec and causing diff in applied / existing configs.
This PR attempts to remove this normalisation and relax the regex, so existing configurations don't break ( normally they would break, because we no longer truncate a given version ).
However, everywhere internally where we DO use the version for various things like creating a cluster, it should already be normalised.
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 #3594.
Special notes for your reviewer:
Checklist: