Chainguard's redistribution of the Gatekeeper Helm chart, pre-configured with hardened Chainguard Images.
Authentication is required to access this chart and its images. First, authenticate with Chainguard and configure your environment:
chainctl auth login
chainctl auth configure-docker --pull-token --save
helm registry login cgr.dev
Create an image pull secret for the cluster:
kubectl create secret docker-registry cgr-pull-secret \
--docker-server=cgr.dev \
--docker-username="$(echo cgr.dev | docker-credential-cgr get | jq -r '.Username')" \
--docker-password="$(echo cgr.dev | docker-credential-cgr get | jq -r '.Secret')" \
--namespace gatekeeper-system
helm install gatekeeper oci://cgr.dev/ORGANIZATION/charts/open-policy-agent-gatekeeper \
--namespace gatekeeper-system \
--create-namespace \
--set image.pullSecrets[0].name=cgr-pull-secret \
--set postInstall.labelNamespace.image.pullSecrets[0].name=cgr-pull-secret \
--set postInstall.probeWebhook.image.pullSecrets[0].name=cgr-pull-secret \
--set postUpgrade.labelNamespace.image.pullSecrets[0].name=cgr-pull-secret \
--set preUninstall.deleteWebhookConfigurations.image.pullSecrets[0].name=cgr-pull-secret
This is a redistribution of the upstream Gatekeeper Helm chart. All upstream configuration options and documentation apply.
For full documentation, see: https://open-policy-agent.github.io/gatekeeper/website/docs/install