From f6336d5665138b4f97b0e47260b7b69aa452e4a1 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Thu, 27 Oct 2022 16:53:20 +0100 Subject: [PATCH] updated to gatekeeper 3.11 --- _test/deploy-gatekeeper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_test/deploy-gatekeeper.sh b/_test/deploy-gatekeeper.sh index cabd178f..e514d512 100755 --- a/_test/deploy-gatekeeper.sh +++ b/_test/deploy-gatekeeper.sh @@ -5,7 +5,7 @@ shopt -s inherit_errexit command -v oc &> /dev/null || { echo >&2 'ERROR: oc not installed - Aborting'; exit 1; } command -v konstraint &> /dev/null || { echo >&2 'ERROR: konstraint not installed - Aborting'; exit 1; } -gatekeeper_version="v3.10.0" +gatekeeper_version="v3.11.0" cleanup_gatekeeper_constraints() { echo "" @@ -46,7 +46,7 @@ deploy_gatekeeper() { echo "" echo "Deploying gatekeeper ${gatekeeper_version}..." - oc create -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/${gatekeeper_version}/deploy/gatekeeper.yaml + oc create --save-config -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/${gatekeeper_version}/deploy/gatekeeper.yaml echo "" echo "Patching gatekeeper to work on OCP..."