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 9 years ago
  • Reactions: 1
  • Comments: 23 (20 by maintainers)

Most upvoted comments

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.