File tree Expand file tree Collapse file tree
charts/local-path-provisioner Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v1
22description : Use HostPath for persistent local storage with Kubernetes
33name : local-path-provisioner
4- version : 0.0.31
5- appVersion : " v0.0.31 "
4+ version : 0.0.32
5+ appVersion : " v0.0.32 "
66keywords :
77 - storage
88 - hostpath
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ default values.
5757| ----------------------------------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
5858| ` commonLabels ` | Custom labels to apply to all resources | ` {} ` |
5959| ` image.repository ` | Local Path Provisioner image name | ` rancher/local-path-provisioner ` |
60- | ` image.tag ` | Local Path Provisioner image tag | ` v0.0.31 ` . |
60+ | ` image.tag ` | Local Path Provisioner image tag | ` v0.0.32 ` . |
6161| ` image.pullPolicy ` | Image pull policy | ` IfNotPresent ` |
6262| ` storageClass.create ` | If true, create a ` StorageClass ` | ` true ` |
6363| ` storageClass.provisionerName ` | The provisioner name for the storage class | ` nil ` |
Original file line number Diff line number Diff line change 4949 - key: node.kubernetes.io/disk-pressure
5050 operator: Exists
5151 effect: NoSchedule
52+ {{- with .Values.configmap.helperPod.tolerations }}
53+ {{- toYaml . | nindent 8 }}
54+ {{- end }}
5255 containers:
5356 - name: helper-pod
5457 {{- if .Values.privateRegistry.registryUrl }}
Original file line number Diff line number Diff line change 6767 - --deletion-retry-count
6868 - {{ .Values.deletionRetryCount | quote }}
6969 {{- end }}
70+ {{- range .Values.extraArgs }}
71+ - {{ . }}
72+ {{- end }}
7073 volumeMounts :
7174 - name : config-volume
7275 mountPath : /etc/config/
Original file line number Diff line number Diff line change 1+ {{- if .Values.podDisruptionBudget.enabled -}}
2+ apiVersion : policy/v1
3+ kind : PodDisruptionBudget
4+ metadata :
5+ name : {{ include "local-path-provisioner.fullname" . }}
6+ namespace : {{ include "local-path-provisioner.namespace" . }}
7+ labels :
8+ {{ include "local-path-provisioner.labels" . | indent 4 }}
9+ spec :
10+ selector :
11+ matchLabels :
12+ app.kubernetes.io/name : {{ include "local-path-provisioner.name" . }}
13+ app.kubernetes.io/instance : {{ .Release.Name }}
14+ {{- toYaml (omit .Values.podDisruptionBudget "enabled") | indent 2 }}
15+ {{- end -}}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespaceOverride: ""
66
77image :
88 repository : rancher/local-path-provisioner
9- tag : v0.0.31
9+ tag : v0.0.32
1010 pullPolicy : IfNotPresent
1111
1212helperImage :
@@ -91,7 +91,7 @@ nodePathMap:
9191# sharedFileSystemPath: ""
9292# ## OR
9393# # See above
94- # nodePathMap: {}
94+ # nodePathMap: []
9595
9696podAnnotations : {}
9797
@@ -146,6 +146,9 @@ tolerations: []
146146
147147affinity : {}
148148
149+ podDisruptionBudget :
150+ enabled : false
151+
149152configmap :
150153 # specify the config map name
151154 name : local-path-config
@@ -163,6 +166,7 @@ configmap:
163166 namespaceOverride : " "
164167 name : " helper-pod"
165168 annotations : {}
169+ tolerations : []
166170# Number of provisioner worker threads to call provision/delete simultaneously.
167171# workerThreads: 4
168172
@@ -171,3 +175,6 @@ configmap:
171175
172176# Number of retries of failed volume deletion. 0 means retry indefinitely.
173177# deletionRetryCount: 15
178+
179+ # Extra arguments to pass to the CLI
180+ extraArgs : []
You can’t perform that action at this time.
0 commit comments