oc v3.2.0.20 kubernetes v1.2.0-36-g4a3f9c5
Bug 1298846
Clayton, do we want to fix this? There are also other resources that are not part of 'all' in `delete` and `get`, like pvcs and templates.
pvcs and templates are intentionally not part of all. secrets are intentionally not part of all. Configmaps being part of all is probably ok, but we'd need to clarify why it's ok to delete configmaps but not secrets.
Why is anything intentionally not part of all? The only reason to not make something part of all is because we are silly and don't have a confirm dialogue for --all. --all should delete ALL, otherwise we need to clearly, painfully and explicitly document what is NOT deleted by --all and then we should probably additionally provide --really-all or some flag that can actually delete all the things.
As per the following upstream discussion, ConfigMaps are not going to be added to 'all' because if deleted it's potentially unrecoverable: https://github.com/kubernetes/kubernetes/pull/28955#issuecomment-232737113 Adding Clayton here to further comments if needed.