bitwarden-k8s icon indicating copy to clipboard operation
bitwarden-k8s copied to clipboard

Empty className leads to PVC in Pending state

Open iceman91176 opened this issue 4 years ago • 0 comments

If no value for persistence.storageClass is provided, the helm chart references an empty ("") class. This leads to a PVC stuck in pending, because this classname can't be found.

Kubernetes docs state "If storageClassName is set to an empty string (‘’) in the PVC, no storage class will be used (i.e.; dynamic provisioning is disabled for this PVC)"

Problem is here

https://github.com/cdwv/bitwarden-k8s/blob/ca4995c4fab4eea3fb1c1c3f28a43db6807f8ee0/chart/bitwarden-k8s/templates/persistent-volume-claim.yaml#L18

iceman91176 avatar Oct 01 '20 11:10 iceman91176