Skip to content

Commit

Permalink
updated to gatekeeper 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Oct 16, 2023
1 parent abf7801 commit f6336d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _test/deploy-gatekeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down Expand Up @@ -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..."
Expand Down

0 comments on commit f6336d5

Please sign in to comment.