mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 41994, 41969, 41997, 40952, 40576) Updating kubectl to send delete requests with orphanDependents=false if --cascade is true Ref https://github.com/kubernetes/kubernetes/issues/40568 #38897 Updating kubectl to always set `DeleteOptions.orphanDependents=false` when deleting a resource with `--cascade=true`. This is primarily for federation where we want to use server side cascading deletion. Impact on kubernetes: kubectl will do another GET after sending a DELETE and wait till the resource is actually deleted. This can have an impact if the resource has a finalizer. kubectl will wait till the finalizer is removed and then the resource is deleted, which is the right thing to do but a notable change in behavior. cc @caesarxuchao @lavalamp @smarterclayton @kubernetes/sig-federation-pr-reviews @kubernetes/sig-cli-pr-reviews |
||
---|---|---|
.. | ||
helpers | ||
build.sh | ||
cross.sh | ||
make-help.sh | ||
test-cmd-util.sh | ||
test-cmd.sh | ||
test-e2e-node.sh | ||
test-federation-cmd.sh | ||
test-integration.sh | ||
test-kubeadm-cmd.sh | ||
test.sh | ||
verify.sh | ||
vet.sh |