diff --git a/deploy/helm/charts/templates/kernel-nfs-storageclass.yaml b/deploy/helm/charts/templates/kernel-nfs-storageclass.yaml index da77f52..6d71e42 100644 --- a/deploy/helm/charts/templates/kernel-nfs-storageclass.yaml +++ b/deploy/helm/charts/templates/kernel-nfs-storageclass.yaml @@ -55,3 +55,9 @@ metadata: {{- end }} provisioner: openebs.io/nfsrwx reclaimPolicy: {{ .Values.nfsStorageClass.reclaimPolicy }} +{{- if .Values.nfsStorageClass.mountOptions }} +mountOptions: + {{- range .Values.nfsStorageClass.mountOptions }} + - {{ . }} + {{- end }} +{{- end }} diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index 7d1f226..fbb7e56 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -93,6 +93,9 @@ nfsStorageClass: nfsServerType: kernel isDefaultClass: false backendStorageClass: "" + # NFS Mount Options to be applied to the storage class. + # For more information: https://linux.die.net/man/5/nfs + mountOptions: # The customServerConfig key passes a custom /etc/exports configuration to # the NFS servers created using this StorageClass. # The configuration settings are not validated, and can lead to security