You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: rendered manifests contain a resource that already exists. Unable to continue with install: PodSecurityPolicy "gatekeeper-admin"in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "gatekeeper-1618484158"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "default"
What did you expect to happen:
It should work? 🤔
Anything else you would like to add:
I was following the Deploying via Helm installation steps.
Sounds like you already have a non-Helm deployment of Gatekeeper in your cluster. I would suggest removing any existing components then deploy Gatekeeper using Helm.
What steps did you take and what happened:
$ helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts --force-update
$ helm install gatekeeper/gatekeeper --generate-name --set experimentalEnableMutation=true --dry-run
What did you expect to happen:
It should work? 🤔
Anything else you would like to add:
I was following the Deploying via Helm installation steps.
Environment:
v3.4.0
kubectl version
): C:v1.19.7
, S:v1.20.2
version.BuildInfo{Version:"v3.5.3", GitCommit:"041ce5a2c17a58be0fcd5f5e16fb3e7e95fea622", GitTreeState:"dirty", GoVersion:"go1.16"}
The text was updated successfully, but these errors were encountered: