-
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
🌱 Ensure CRS controller always add ownerReference to resources #10756
🌱 Ensure CRS controller always add ownerReference to resources #10756
Conversation
/test |
@fabriziopandini: The
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-sigs/prow repository. |
/test pull-cluster-api-e2e-main |
b145e9d
to
ef35254
Compare
Thx! /lgtm |
LGTM label has been added. Git tree hash: 45a422cfce7016b35696b1aeeb4bec857841a858
|
@fabriziopandini Can you please check the unit test? Wondering if we got a flake related to this PR |
The flake was related to this PR and due to a race condition:
To fix it I have expanded a little bit the scope of this PR:
The last change required to fix an existing test, but this should be ok because what is important is that we do not apply resources if there is not yet a kubernetes service in the target cluster, and this is still true (see #7804) |
/lgtm |
LGTM label has been added. Git tree hash: 36ca06360ded69979dc6b0b2aaa1e01a2d8b10f4
|
/hold for manual merge |
exp/addons/internal/controllers/clusterresourceset_controller_test.go
Outdated
Show resolved
Hide resolved
31b66b7
to
cf216fe
Compare
Thx! /lgtm |
LGTM label has been added. Git tree hash: 1a2a4620114a1eb5ff9970a9705b4b3bda933b32
|
[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 |
/hold cancel |
/cherrypick release-1.7 |
@jimmidyson: new pull request created: #10895 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-sigs/prow repository. |
What this PR does / why we need it:
While testing owner references resilience for CAPV I discovered that the CRS controller do not apply owner references to resources in case there is no connection to the workload cluster.
This PR fixes this issue.
Area example:
/area clusterresourceset