Remove extensions v1beta1 from addon manager and kubectl prune

This commit is contained in:
Ricardo Pchevuzinske Katz
2021-02-05 09:38:28 -03:00
parent 81d8ccfa8e
commit 25f3cf5550
2 changed files with 3 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ if [ -z "${KUBECTL_PRUNE_WHITELIST_OVERRIDE:-}" ]; then
apps/v1/Deployment
apps/v1/ReplicaSet
apps/v1/StatefulSet
extensions/v1beta1/Ingress
networking.k8s.io/v1/Ingress
)
else
read -ra KUBECTL_PRUNE_WHITELIST <<< "${KUBECTL_PRUNE_WHITELIST_OVERRIDE}"