nutanix / helm

Nutanix Helm Charts repository
https://nutanix.github.io/helm/
MIT License
17 stars 30 forks source link

Unable to deploy nutanix-csi-snapshot on OCP 4.11 #86

Closed agno01 closed 1 year ago

agno01 commented 1 year ago

Authenticated to the OpenShift cluster as cluster-admin

$ helm install nutanix-csi-snapshot nutanix/nutanix-csi-snapshot -n ntnx-system --create-namespace

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition "[volumesnapshotclasses.snapshot.storage.k8s.io](http://volumesnapshotclasses.snapshot.storage.k8s.io/)" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "[app.kubernetes.io/managed-by](http://app.kubernetes.io/managed-by)": must be set to "Helm"; annotation validation error: missing key "[meta.helm.sh/release-name](http://meta.helm.sh/release-name)": must be set to "nutanix-csi-snapshot"; annotation validation error: missing key "[meta.helm.sh/release-namespace](http://meta.helm.sh/release-namespace)": must be set to "ntnx-system"
tuxtof commented 1 year ago

Hello @agno01

Snapshot component is already present in the openshift cluser by default, so no need to install it and to install Nutanix CSI component the best is to use the operator hub as explained here https://opendocs.nutanix.com/openshift/operators/csi/

agno01 commented 1 year ago

Awesome! Thanks for the hint! :)