-
Notifications
You must be signed in to change notification settings - Fork 583
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 cluster-api-provider-last-applied-tags-on-volumes to recalculate the value on each reconcile #4531
Fix cluster-api-provider-last-applied-tags-on-volumes to recalculate the value on each reconcile #4531
Conversation
…the annotation value each reconcile instead of reusing the previous value
Hi @cnmcavoy. 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 |
@cnmcavoy off-topic, would be good if you applied for membership of kubernetes-sigs org. Just noticed that you are not 😅 since you have made significant contributions in CAPA, it would be good to be added as a member. |
/test pull-cluster-api-provider-aws-e2e-blocking |
/lgtm Good find @cnmcavoy 👍 |
[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 |
|
@cnmcavoy oopsie 😅 |
/cherry-pick release-2.2 |
@Ankitasw: #4531 failed to apply on top of branch "release-2.2":
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?
/bug
What this PR does / why we need it: Fixes an issue with the value of the
sigs.k8s.io/cluster-api-provider-aws-last-applied-tags
annotation growing to an unbounded size, due to re-use of it's previous state. We only need to persist information about volumes currently attached, so recomputing and clearing the annotation value is sufficient.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 #4530
Special notes for your reviewer:
Checklist:
Release note: