Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#45661 from deads2k/cli-11-delete
Automatic merge from submit-queue orphan when kubectl delete --cascade=false The default for new objects is to propagate deletes (use GC) when no deleteoptions are passed. In addition, the vast majority of kube objects use this default. Only a few controllers resources (sts, rc, deploy, jobs, rs) orphan by default. This means that when you do `kubectl delete sa/foo --cascade=false` you do *not* orphan. That doesn't fulfill the intent of the command. This explicitly orphans when `--cascade=false` so we don't use GC. @fabianofranz @jwforres I liked this easter egg :) @kubernetes/sig-cli-bugs we should backport this to 1.6
- Loading branch information