From 402c0ad563802b4b99b322218d5c9691f03df8bf Mon Sep 17 00:00:00 2001 From: Roger Ng Date: Mon, 22 Jan 2024 06:20:29 +0800 Subject: [PATCH] Replace `prune-whitelist` with `prune-allowlist` for `kubectl` command --- cloudbuild_pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild_pr.yaml b/cloudbuild_pr.yaml index f682a25944..0cb99de642 100644 --- a/cloudbuild_pr.yaml +++ b/cloudbuild_pr.yaml @@ -92,7 +92,7 @@ steps: - -f=envsubst-spanner/trillian-log-signer-service.yaml - --prune - --all - - --prune-whitelist=core/v1/ConfigMap + - --prune-allowlist=core/v1/ConfigMap env: - CLOUDSDK_COMPUTE_ZONE=${_MASTER_ZONE} - CLOUDSDK_CONTAINER_CLUSTER=${_CLUSTER_NAME} @@ -141,7 +141,7 @@ steps: - -f=envsubst-mysql/trillian-log-signer-service.yaml - --prune - --all - - --prune-whitelist=core/v1/ConfigMap + - --prune-allowlist=core/v1/ConfigMap env: - CLOUDSDK_COMPUTE_ZONE=${_MASTER_ZONE} - CLOUDSDK_CONTAINER_CLUSTER=${_CLUSTER_NAME}