Skip to content
Snippets Groups Projects
Commit c48a8e2e authored by Dmitry K. Anisimov's avatar Dmitry K. Anisimov Committed by Derek Su
Browse files

add storageClass.volumeBindingMode value to helm chart

(cherry picked from commit f8f59d0a)
parent b7ecde60
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ metadata:
storageclass.kubernetes.io/is-default-class: "true"
{{- end }}
provisioner: {{ template "local-path-provisioner.provisionerName" . }}
volumeBindingMode: WaitForFirstConsumer
volumeBindingMode: {{ .Values.storageClass.volumeBindingMode }}
reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
allowVolumeExpansion: true
{{- end }}
......@@ -41,6 +41,9 @@ storageClass:
## ReclaimPolicy field of the class, which can be either Delete or Retain
reclaimPolicy: Delete
## volumeBindingMode field controls when volume binding and dynamic provisioning should occur, can be "Immediate" or "WaitForFirstConsumer"
volumeBindingMode: WaitForFirstConsumer
# nodePathMap is the place user can customize where to store the data on each node.
# 1. If one node is not listed on the nodePathMap, and Kubernetes wants to create volume on it, the paths specified in
# DEFAULT_PATH_FOR_NON_LISTED_NODES will be used for provisioning.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment