Skip to content
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

[Federation] Use cascading deletion when deleting resources in underlying clusters #44108

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

csbell
Copy link
Contributor

@csbell csbell commented Apr 5, 2017

The Federation control plane issues a delete command unless it wants to orphan the underlying per-cluster resource. When issuing that command, always set the orphanDependents to false.

/release-note-none
/sig-federation

Fix for [federation failing to propagate cascading deletion](https://github.com/kubernetes/kubernetes/issues/44304).

The Federation control plane issues a delete command unless it wants to orphan the underlying per-cluster resource. When issuing that command, always set the orphanDependents to false.
@csbell csbell requested a review from nikhiljindal April 5, 2017 20:09
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 5, 2017
@k8s-github-robot k8s-github-robot assigned ghost Apr 5, 2017
@k8s-github-robot k8s-github-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels Apr 5, 2017
@csbell
Copy link
Contributor Author

csbell commented Apr 5, 2017

/release-note-none
/sig-federation

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Apr 5, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@nikhiljindal
Copy link
Contributor

Thanks lgtm. I wasnt expecting the kubefed change, but should be fine.

I can cherrypick this with my PR. Will also run e2e once to make sure that its WAI :)

@nikhiljindal nikhiljindal added this to the v1.6 milestone Apr 5, 2017
@nikhiljindal nikhiljindal changed the title [Federation] Disable orphaning of per-cluster resources on deletion. [Federation] Use cascading deletion when deleting resources in underlying clusters Apr 6, 2017
@nikhiljindal
Copy link
Contributor

Verified that e2e tests pass with this change.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 6, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csbell, nikhiljindal

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit aeac661 into kubernetes:master Apr 6, 2017
k8s-github-robot pushed a commit that referenced this pull request Apr 11, 2017
…#44108-upstream-release-1.6

Automatic merge from submit-queue

Automated cherry pick of #44108

Cherry pick of #44108 on release-1.6.

#44108: fed: Disable orphaning of per-cluster resources on deletion.

```release-note
Fix for [federation failing to propagate cascading deletion](#44304).
```
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.6" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

@enisoc enisoc added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Apr 13, 2017
mintzhao pushed a commit to mintzhao/kubernetes that referenced this pull request Jun 1, 2017
…y-pick-of-#44108-upstream-release-1.6

Automatic merge from submit-queue

Automated cherry pick of kubernetes#44108

Cherry pick of kubernetes#44108 on release-1.6.

kubernetes#44108: fed: Disable orphaning of per-cluster resources on deletion.

```release-note
Fix for [federation failing to propagate cascading deletion](kubernetes#44304).
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants