Merge branch 'master' of github.com:kubernetes-sigs/nfs-subdir-external-provisioner into v4.0.1-prep
This commit is contained in:
commit
2bee3e0f77
|
|
@ -60,7 +60,8 @@ The following tables lists the configurable parameters of this chart and their d
|
||||||
| `storageClass.allowVolumeExpansion` | Allow expanding the volume | `true` |
|
| `storageClass.allowVolumeExpansion` | Allow expanding the volume | `true` |
|
||||||
| `storageClass.reclaimPolicy` | Method used to reclaim an obsoleted volume | `Delete` |
|
| `storageClass.reclaimPolicy` | Method used to reclaim an obsoleted volume | `Delete` |
|
||||||
| `storageClass.provisionerName` | Name of the provisionerName | null |
|
| `storageClass.provisionerName` | Name of the provisionerName | null |
|
||||||
| `storageClass.archiveOnDelete` | Archive pvc when deleting | `true` |
|
| `storageClass.archiveOnDelete` | Archive PVC when deleting | `true` |
|
||||||
|
| `storageClass.onDelete` | Strategy on PVC deletion. Overrides `archiveOnDelete` when set to lowercase values `delete` or `retain` | null |
|
||||||
| `storageClass.pathPattern` | Specifies a template for the directory name | null |
|
| `storageClass.pathPattern` | Specifies a template for the directory name | null |
|
||||||
| `storageClass.accessModes` | Set access mode for PV | `ReadWriteOnce` |
|
| `storageClass.accessModes` | Set access mode for PV | `ReadWriteOnce` |
|
||||||
| `leaderElection.enabled` | Enables or disables leader election | `true` |
|
| `leaderElection.enabled` | Enables or disables leader election | `true` |
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,9 @@ parameters:
|
||||||
{{- if .Values.storageClass.pathPattern }}
|
{{- if .Values.storageClass.pathPattern }}
|
||||||
pathPattern: "{{ .Values.storageClass.pathPattern }}"
|
pathPattern: "{{ .Values.storageClass.pathPattern }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.storageClass.onDelete }}
|
||||||
|
onDelete: "{{ .Values.storageClass.onDelete }}"
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.nfs.mountOptions }}
|
{{- if .Values.nfs.mountOptions }}
|
||||||
mountOptions:
|
mountOptions:
|
||||||
{{- range .Values.nfs.mountOptions }}
|
{{- range .Values.nfs.mountOptions }}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,11 @@ storageClass:
|
||||||
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
|
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
|
||||||
archiveOnDelete: true
|
archiveOnDelete: true
|
||||||
|
|
||||||
|
# If it exists and has 'delete' value, delete the directory. If it exists and has 'retain' value, save the directory.
|
||||||
|
# Overrides archiveOnDelete.
|
||||||
|
# Ignored if value not set.
|
||||||
|
onDelete:
|
||||||
|
|
||||||
# Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace.
|
# Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace.
|
||||||
# Ignored if value not set.
|
# Ignored if value not set.
|
||||||
pathPattern:
|
pathPattern:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue