hackmdio / codimd-helm

Helm charts for CodiMD
https://artifacthub.io/packages/helm/codimd/codimd
14 stars 27 forks source link

If storageClass is unspecified, don't print the field #7

Open rbren opened 3 years ago

rbren commented 3 years ago

K8s will use the default storageClass if left unspecified. However, using this chart requires the user to specify storageClass even if they just want to use the default.

I think this could be solved by guarding the storageClass import with if or .Values.storageClass .Values.global.storageClass