Merge pull request #102528 from soltysh/cronjob_ga

Clean apply's prune and kube addons with batch/v1 CronJob

Kubernetes-commit: b2b4cb17256de8d89d4d5fdbe8d19a2492e8152c
This commit is contained in:
Kubernetes Publisher 2021-06-02 08:02:31 -07:00
commit 48e9da0ebe
1 changed files with 1 additions and 1 deletions

View File

@ -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},