Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Allow cascadingDelete if any ancestor allows #787

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

yiqigao217
Copy link
Contributor

Update the AllowsCascadingDelete() function in the forest to allow it if
any ancestor allows instead of looking up until the first full
namespace.

Tested by a new test case in anchor validator. It failed before the
change in the forest and passed afterwards.

Fixes #730

Update the AllowsCascadingDelete() function in the forest to allow it if
any ancestor allows instead of looking up until the first full
namespace.

Tested by a new test case in anchor validator. It failed before the
change in the forest and passed afterwards.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 4, 2020
@k8s-ci-robot k8s-ci-robot requested review from srampal and tashimi June 4, 2020 20:17
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 4, 2020
@yiqigao217
Copy link
Contributor Author

/assign @adrianludwin
/assign @rjbez17

@rjbez17
Copy link

rjbez17 commented Jun 5, 2020

/lgtm
/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Jun 5, 2020
Copy link
Contributor

@adrianludwin adrianludwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrianludwin, yiqigao217

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2020
@yiqigao217
Copy link
Contributor Author

/retest

@k8s-ci-robot k8s-ci-robot merged commit add0b3c into kubernetes-retired:master Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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 Indicates that a PR is ready to be merged. 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.

HNC: consider simplifying the inheritance of allowCascadingDelete
4 participants