diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml index bc626e00..3ac067ba 100644 --- a/deploy/chart/local-path-provisioner/templates/configmap.yaml +++ b/deploy/chart/local-path-provisioner/templates/configmap.yaml @@ -66,3 +66,7 @@ data: imagePullPolicy: {{ .Values.image.pullPolicy }} resources: {{- toYaml .Values.helperPod.resources | nindent 12 }} + {{- with .Values.configmap.helperPod.securityContext }} + securityContext: + {{- toYaml . | nindent 12 }} + {{- end }} diff --git a/deploy/chart/local-path-provisioner/values.yaml b/deploy/chart/local-path-provisioner/values.yaml index a4869006..81623cba 100644 --- a/deploy/chart/local-path-provisioner/values.yaml +++ b/deploy/chart/local-path-provisioner/values.yaml @@ -182,6 +182,7 @@ configmap: name: "helper-pod" annotations: {} tolerations: [] + securityContext: {} # Priority class name for the helper pod (defaults to system-node-critical) priorityClassName: "system-node-critical" # Number of provisioner worker threads to call provision/delete simultaneously.