• 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
..
BUILD Loading commit data...
etcd.sh Loading commit data...
golang.sh Loading commit data...
init.sh Loading commit data...
swagger.sh Loading commit data...
test.sh Loading commit data...
util.sh Loading commit data...
version.sh Loading commit data...