origin: oc delete all --all doesn't delete secrets

Doing a :

 oc delete all --all

should delete everything I believe

but it seems that secrets are still there :

$ oc delete all --all
deploymentconfigs/gitserver
services/gitserver
pods/gitserver-1-deploy
$ oc get secret
NAME                       TYPE                                  DATA
builder-dockercfg-72ls9    kubernetes.io/dockercfg               1
[...]

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Reactions: 1
  • Comments: 23 (20 by maintainers)

Most upvoted comments

it sounds to me like this is “working as designed”, can it be closed?

all expands to all the resources it aliases so it will expand to buildConfigs,builds,imageStreams,deploymentConfigs,replicationControllers,routes,services,pods. If you add something to that set expect that every all call will work with all those resources.