From 5307ca53e81bdb3e05c9355dccdd2573e0dce94b Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Fri, 30 Sep 2022 17:08:07 +0800 Subject: [PATCH] feat: add the ADMISSION_WEBHOOK_VERSION Signed-off-by: Chao Zhang --- hack/verify-examples-kind.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/verify-examples-kind.sh b/hack/verify-examples-kind.sh index bcbb0bac59..e1e26fe3d8 100755 --- a/hack/verify-examples-kind.sh +++ b/hack/verify-examples-kind.sh @@ -22,6 +22,7 @@ readonly GO111MODULE="on" readonly GOFLAGS="-mod=readonly" readonly GOPATH="$(mktemp -d)" readonly CLUSTER_NAME="verify-gateway-api" +readonly ADMISSION_WEBHOOK_VERSION="v0.5.1" export KUBECONFIG="${GOPATH}/.kubeconfig" export GOFLAGS GO111MODULE GOPATH @@ -60,7 +61,7 @@ resources: - certificate_config.yaml - admission_webhook.yaml images: - - name: gcr.io/k8s-staging-gateway-api/admission-server:v0.5.0 + - name: gcr.io/k8s-staging-gateway-api/admission-server:${ADMISSION_WEBHOOK_VERSION} newTag: latest EOF