-
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
🐛 Improve handling of topology orphaned objects #10277
🐛 Improve handling of topology orphaned objects #10277
Conversation
a446f38
to
42679bf
Compare
/test pull-cluster-api-e2e-main |
@fabriziopandini : would it be handy to perhaps use |
controllerutil.OperationResult is not an exact match for reconcileReferencedTemplate, because one possible outcome is a template rotation. also, this is an internal API, we can eventually refactor it again if we need more things down the line. |
Tested reproducing the error with CAPD, no duplicated InfrastructureClusters are created with the fix. |
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
LGTM label has been added. Git tree hash: 72bfbb3466262c0662d681ee36619380c004577d
|
a30e0a1
to
5f141e8
Compare
Thx! /lgtm |
LGTM label has been added. Git tree hash: ecf3b2db4dda4af199608c9a2863001aab09baea
|
Let's cherry-pick (at least into 1.6) /cherry-pick release-1.6 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.6 in a new PR and assign it to you. 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. |
/cherry-pick release-1.5 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.5 in a new PR and assign it to you. 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
@sbueringer: #10277 failed to apply on top of branch "release-1.6":
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. |
@sbueringer: #10277 failed to apply on top of branch "release-1.5":
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. |
@fabriziopandini We probably should cherry-pick manually |
What this PR does / why we need it:
This PR fixes #10275 and improves how the topology controller handles referenced objects in case of errors, and more specifically
I will keep the PR in WIP while I run some additional test
Which issue(s) this PR fixes:
Fixes #10275
/area clusterclass
/cc @sbueringer @chrischdi