openebs / dynamic-localpv-provisioner

Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from simple Local-Hostpath /root storage.
https://openebs.io
Apache License 2.0
143 stars 63 forks source link

Can't install on a fresh created openshift cluster. #199

Closed kundeng closed 2 months ago

kundeng commented 2 months ago

helm install openebs openebs/openebs -n openebs --create-namespace

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition "lvmnodes.local.openebs.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": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "openebs"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "openebs"

kundeng commented 2 months ago

deleted CRDS

niladrih commented 2 months ago

Deleting CRDs is okay here because you're going for a fresh install. Otherwise, using the --set lvm-localpv.crds.lvmLocalPv.enabled=false option should fix this.

Ref: https://openebs.io/docs/user-guides/upgrade