Downloaded via
ytt \
-f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/release-3.7/deploy/gatekeeper.yaml \
-f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.7.0/example/templates/k8srequiredlabels_template.yaml \
-f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.7.0/example/constraints/all_pod_must_have_gatekeeper_namespaceselector.yaml \
-f examples/gatekeeper-v3.7.0/exists.yml \
-f examples/gatekeeper-v3.7.0/overlay.yml > config.yml
exists.yml
is used to wait for CRD created by gatekeeper controlleroverlay.yml
is used withytt
to add ordering