Skip to content

Commit 0d2f0c4

Browse files
authored
Merge pull request #164 from openebs/mnt_opts
chore(chart): add nfs mount options field
2 parents edeab44 + 0e83011 commit 0d2f0c4

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

deploy/helm/charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Helm chart for OpenEBS Dynamic NFS PV. For instructions to install
44
type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
7-
version: 0.10.0
7+
version: 0.10.1
88
# This is the version number of the application being deployed. This version number should be
99
# incremented each time you make changes to the application.
1010
appVersion: 0.10.0

deploy/helm/charts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ helm install openebs-nfs openebs-nfs/nfs-provisioner --namespace openebs --creat
132132
| `nfsProvisioner.nfsBackendPvcTimeout` | Timeout for backend PVC binding in seconds | `"60"` |
133133
| `nfsProvisioner.nfsHookConfigMap` | Existing Configmap name to load hook configuration | `""` |
134134
| `nfsStorageClass.backendStorageClass` | StorageClass to be used to provision the backend volume. If not specified, the default StorageClass is used. | `""` |
135+
| `nfsStorageClass.mountOptions` | NFS mount options to be passed on to storageclass | `[]`
135136
| `nfsStorageClass.isDefaultClass` | Make 'openebs-kernel-nfs' the default StorageClass | `"false"` |
136137
| `nfsStorageClass.reclaimPolicy` | ReclaimPolicy for NFS PVs | `"Delete"` |
137138
| `nfsStorageClass.leaseTime` | Renewal period(in seconds) for NFS client state | `90` |

deploy/helm/charts/templates/kernel-nfs-storageclass.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ metadata:
5555
{{- end }}
5656
provisioner: openebs.io/nfsrwx
5757
reclaimPolicy: {{ .Values.nfsStorageClass.reclaimPolicy }}
58+
{{- if .Values.nfsStorageClass.mountOptions }}
59+
mountOptions:
60+
{{- range .Values.nfsStorageClass.mountOptions }}
61+
- {{ . }}
62+
{{- end }}
63+
{{- end }}

deploy/helm/charts/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ nfsStorageClass:
9393
nfsServerType: kernel
9494
isDefaultClass: false
9595
backendStorageClass: ""
96+
# NFS Mount Options to be applied to the storage class.
97+
# For more information: https://linux.die.net/man/5/nfs
98+
mountOptions: []
9699
# The customServerConfig key passes a custom /etc/exports configuration to
97100
# the NFS servers created using this StorageClass.
98101
# The configuration settings are not validated, and can lead to security

0 commit comments

Comments
 (0)