• Kubernetes Submit Queue's avatar
    Merge pull request #40576 from nikhiljindal/kubectlcascDel · 0bc16d89
    Kubernetes Submit Queue authored
    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
    0bc16d89
Name
Last commit
Last update
..
helpers Loading commit data...
build.sh Loading commit data...
cross.sh Loading commit data...
make-help.sh Loading commit data...
test-cmd-util.sh Loading commit data...
test-cmd.sh Loading commit data...
test-e2e-node.sh Loading commit data...
test-federation-cmd.sh Loading commit data...
test-integration.sh Loading commit data...
test-kubeadm-cmd.sh Loading commit data...
test.sh Loading commit data...
verify.sh Loading commit data...
vet.sh Loading commit data...