Merge pull request #110 from equinix-ms/master
chart: Add option to set nfs root volume name.
This commit is contained in:
		
						commit
						65ce8894da
					
				|  | @ -3,7 +3,7 @@ appVersion: 4.0.2 | |||
| description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes. | ||||
| name: nfs-subdir-external-provisioner | ||||
| home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | ||||
| version: 4.0.10 | ||||
| version: 4.0.11 | ||||
| kubeVersion: ">=1.9.0-0" | ||||
| sources: | ||||
| - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | ||||
|  |  | |||
|  | @ -70,6 +70,7 @@ The following tables lists the configurable parameters of this chart and their d | |||
| | `nfs.server`                        | Hostname of the NFS server (required)                                                                 | null (ip or hostname)                                    | | ||||
| | `nfs.path`                          | Basepath of the mount point to be used                                                                | `/nfs-storage`                                           | | ||||
| | `nfs.mountOptions`                  | Mount options (e.g. 'nfsvers=3')                                                                      | null                                                     | | ||||
| | `nfs.volumeName`                    | Volume name used inside the pods                                                                      | `nfs-subdir-external-provisioner-root`                   | | ||||
| | `resources`                         | Resources required (e.g. CPU, memory)                                                                 | `{}`                                                     | | ||||
| | `rbac.create`                       | Use Role-based Access Control                                                                         | `true`                                                   | | ||||
| | `podSecurityPolicy.enabled`         | Create & use Pod Security Policy resources                                                            | `false`                                                  | | ||||
|  |  | |||
|  | @ -44,7 +44,7 @@ spec: | |||
|           image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" | ||||
|           imagePullPolicy: {{ .Values.image.pullPolicy }} | ||||
|           volumeMounts: | ||||
|             - name: nfs-subdir-external-provisioner-root | ||||
|             - name: {{ .Values.nfs.volumeName }} | ||||
|               mountPath: /persistentvolumes | ||||
|           env: | ||||
|             - name: PROVISIONER_NAME | ||||
|  | @ -62,7 +62,7 @@ spec: | |||
| {{ toYaml . | indent 12 }} | ||||
|           {{- end }} | ||||
|       volumes: | ||||
|         - name: nfs-subdir-external-provisioner-root | ||||
|         - name: {{ .Values.nfs.volumeName }} | ||||
| {{- if .Values.buildMode }} | ||||
|           emptyDir: {} | ||||
| {{- else if .Values.nfs.mountOptions }} | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ nfs: | |||
|   server: | ||||
|   path: /nfs-storage | ||||
|   mountOptions: | ||||
|   volumeName: nfs-subdir-external-provisioner-root | ||||
| 
 | ||||
| # For creating the StorageClass automatically: | ||||
| storageClass: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue