From 98408ae3278a9b4c87cf2db1250037eda368af4f Mon Sep 17 00:00:00 2001 From: Binbin Li Date: Fri, 8 Sep 2023 08:08:56 +0800 Subject: [PATCH] fix: fix azure test (#1065) --- scripts/azure-ci-test.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/azure-ci-test.sh b/scripts/azure-ci-test.sh index 204225450..3e6be78a3 100755 --- a/scripts/azure-ci-test.sh +++ b/scripts/azure-ci-test.sh @@ -49,15 +49,7 @@ build_push_to_acr() { deploy_gatekeeper() { echo "deploying gatekeeper" - helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts - helm install gatekeeper/gatekeeper \ - --version ${GATEKEEPER_VERSION} \ - --name-template=gatekeeper \ - --namespace gatekeeper-system --create-namespace \ - --set enableExternalData=true \ - --set validatingWebhookTimeoutSeconds=5 \ - --set mutatingWebhookTimeoutSeconds=2 \ - --set auditInterval=0 + make e2e-deploy-gatekeeper GATEKEEPER_VERSION=${GATEKEEPER_VERSION} GATEKEEPER_NAMESPACE="gatekeeper-system" } deploy_ratify() {