-
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
Fix error loop for ignition #4495
Fix error loop for ignition #4495
Conversation
Welcome @odvarkadaniel! |
Hi @odvarkadaniel. 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 |
/test ? |
@Skarlso: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
In response to this:
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. |
/test pull-cluster-api-provider-aws-e2e |
@odvarkadaniel is this tested locally? |
About to do that today. I will come back with the results once done. |
cc/ @JoelSpeed |
@Ankitasw, just tested this manually using Kind as management cluster with ignition as a bootstrap config. Created a workload AWS cluster with a control plane machine with OS flatcar-stable with Kubernetes version 1.27.0 and the machine became Running and the S3 unneeded entries were deleted according to the logs of the controller correctly. |
Thankyou @odvarkadaniel /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ankitasw 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 |
/cherry-pick release-2.2 |
@Ankitasw: new pull request created: #4497 In response to this:
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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
At the moment, if the user uses Ignition as a bootstrap configuration, the user face a breaking error loop that prevents them from using this option.
The change makes sure that after the machine is successfully created, the data secret content in the S3 bucket gets removed correctly.
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 #4489
Special notes for your reviewer:
With the change made, we needed to make sure to not break the unit tests that are already in place - we needed to add the secrets to the clients that didn't have it previously.
Checklist:
Release note: