bitwarden-k8s
bitwarden-k8s copied to clipboard
Empty className leads to PVC in Pending state
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