Install Gatekeeper via Helm
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm install gatekeeper/gatekeeper --name-template=gatekeeper \
--namespace gatekeeper-system \
--create-namespace
Deploy templates and constraints
kubectl apply -f policies/templates
kubectl apply -f policies/constraints
Deploy mutations
kubectl apply -f mutations
Deploy resources
kubectl apply -f resources --recursive