-
Notifications
You must be signed in to change notification settings - Fork 39k
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
Adding cascading deletion support to more federation controllers #36330
Conversation
Pushed another commit for autogenerated bazel and test owner changes to fix tests |
1c90b7d
to
6b722d4
Compare
6b722d4
to
1d79942
Compare
Rebased |
1d79942
to
5333206
Compare
Updated the code to include fix from #36377 in all these controllers |
@nikhiljindal code generally looks good to me. I suppose these are all similar to each other and similar to the changes in the namespace controller? |
Yes thats right. |
5333206
to
d716267
Compare
@k8s-bot unit test this |
3c835fa
to
d754be9
Compare
secret test failed. Rebased to include #36463 |
@k8s-bot unit test this |
d754be9
to
08da37e
Compare
Rebased the PR and disabled flaky tests as per #36540 |
Readding LGTM after rebase |
Jenkins unit/integration failed for commit 08da37ee962cfe228c270a113f2b7c214a97baa1. Full PR test history. The magic incantation to run this job again is |
08da37e
to
675da90
Compare
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Jenkins GKE smoke e2e failed for commit 675da90. Full PR test history. The magic incantation to run this job again is |
Automatic merge from submit-queue |
Automatic merge from submit-queue Adding cascading deletion support to federation replicaset and deployments Forked from #36330 Ref #33612 Adding cascading deletion support for federated replicasets and deployments. ```release-note federation: Adding support for DeleteOptions.OrphanDependents for federated replicasets and deployments. Setting it to false while deleting a federated replicaset or deployment also deletes the corresponding resource from all registered clusters. ```
Automatic merge from submit-queue Adding e2e tests for validating cascading deletion of federation resources Ref #33612 Adding e2e tests for code in #36330 and #36476. Adding test cases to ensure that cascading deletion happens as expected. Also adding code to ensure that all resources are cleaned up in AfterEach. cc @kubernetes/sig-cluster-federation @caesarxuchao @madhusudancs
Automatic merge from submit-queue Adding cascading deletion support to federation replicaset and deployments Forked from kubernetes/kubernetes#36330 Ref #33612 Adding cascading deletion support for federated replicasets and deployments. ```release-note federation: Adding support for DeleteOptions.OrphanDependents for federated replicasets and deployments. Setting it to false while deleting a federated replicaset or deployment also deletes the corresponding resource from all registered clusters. ```
Ref #33612
Adding cascading deletion support for federated daemonsets and ingress.
The code is same as that for namespaces. Just ensuring that DeletionHelper functions are called at right places in these controllers.
e2e tests coming up in another PR.
cc @kubernetes/sig-cluster-federation @caesarxuchao @madhusudancs @mwielgus
This change is![Reviewable](https://camo.githubusercontent.com/2d899f4291d07d3cd2fa4aaae1e3b243f164c23fce87d30a589ace0d496a444c/68747470733a2f2f72657669657761626c652e6b756265726e657465732e696f2f7265766965775f627574746f6e2e737667)