Skip to content

Commit 7f91c97

Browse files
authored
Merge pull request #32 from kir4h/local-path-provisioner
Sync local-path-provisioner Helm chart to version 0.0.32
2 parents d8d178c + 29c6292 commit 7f91c97

6 files changed

Lines changed: 33 additions & 5 deletions

File tree

charts/local-path-provisioner/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
description: Use HostPath for persistent local storage with Kubernetes
33
name: local-path-provisioner
4-
version: 0.0.31
5-
appVersion: "v0.0.31"
4+
version: 0.0.32
5+
appVersion: "v0.0.32"
66
keywords:
77
- storage
88
- hostpath

charts/local-path-provisioner/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` |

charts/local-path-provisioner/templates/configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ data:
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 }}

charts/local-path-provisioner/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ spec:
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/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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 -}}

charts/local-path-provisioner/values.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespaceOverride: ""
66

77
image:
88
repository: rancher/local-path-provisioner
9-
tag: v0.0.31
9+
tag: v0.0.32
1010
pullPolicy: IfNotPresent
1111

1212
helperImage:
@@ -91,7 +91,7 @@ nodePathMap:
9191
# sharedFileSystemPath: ""
9292
# ## OR
9393
# # See above
94-
# nodePathMap: {}
94+
# nodePathMap: []
9595

9696
podAnnotations: {}
9797

@@ -146,6 +146,9 @@ tolerations: []
146146

147147
affinity: {}
148148

149+
podDisruptionBudget:
150+
enabled: false
151+
149152
configmap:
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: []

0 commit comments

Comments
 (0)