mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Clean apply's prune and kube addons with batch/v1 CronJob
This commit is contained in:
parent
a9725892b7
commit
1619e8eb95
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ if [ -z "${KUBECTL_PRUNE_WHITELIST_OVERRIDE:-}" ]; then
|
|||
core/v1/Secret
|
||||
core/v1/Service
|
||||
batch/v1/Job
|
||||
batch/v1beta1/CronJob
|
||||
batch/v1/CronJob
|
||||
apps/v1/DaemonSet
|
||||
apps/v1/Deployment
|
||||
apps/v1/ReplicaSet
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ func getRESTMappings(mapper meta.RESTMapper, pruneResources *[]pruneResource) (n
|
|||
{"", "v1", "Secret", true},
|
||||
{"", "v1", "Service", true},
|
||||
{"batch", "v1", "Job", true},
|
||||
{"batch", "v1beta1", "CronJob", true},
|
||||
{"batch", "v1", "CronJob", true},
|
||||
{"networking.k8s.io", "v1", "Ingress", true},
|
||||
{"apps", "v1", "DaemonSet", true},
|
||||
{"apps", "v1", "Deployment", true},
|
||||
|
|
|
|||
Loading…
Reference in a new issue