Skip to content

Commit 2eef3bd

Browse files
verdelderekbit
authored andcommitted
feat: add abbility to set additional tolerations to helper pod via helm values
1 parent c6b7833 commit 2eef3bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deploy/chart/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 }}

deploy/chart/local-path-provisioner/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ configmap:
166166
namespaceOverride: ""
167167
name: "helper-pod"
168168
annotations: {}
169+
tolerations: []
169170
# Number of provisioner worker threads to call provision/delete simultaneously.
170171
# workerThreads: 4
171172

0 commit comments

Comments
 (0)