neuvector / neuvector-helm

HELM chart to install NeuVector container cluster
Apache License 2.0
122 stars 117 forks source link

error in deploy neuvector in openshift #236

Open mostafaibrahim1988 opened 1 year ago

mostafaibrahim1988 commented 1 year ago

helm install neuvector --namespace neuvector neuvector/core --set openshift=true,crio.enabled=true

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition "nvclustersecurityrules.neuvector.com" 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 "neuvector"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "neuvector" [root@ns ~]#

becitsthere commented 1 year ago

Is the resource created nvclustersecurityrules.neuvector.com manually? If yes, it has to be manually removed before install using helm.