diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml index e19ae4faf2f7b3cfe050652b4af35f2927490454..20c6263db73cbe253a5a3d48bad8bb66735f07d6 100644 --- a/deploy/chart/local-path-provisioner/templates/configmap.yaml +++ b/deploy/chart/local-path-provisioner/templates/configmap.yaml @@ -36,10 +36,10 @@ data: helperPod.yaml: |- apiVersion: v1 kind: Pod - namespace: {{ default .Release.Namespace .Values.helperPod.namespaceOverride }} + namespace: {{ default .Release.Namespace .Values.configmap.helperPod.namespaceOverride }} metadata: - name: {{ .Values.helperPod.name }} - {{- with .Values.helperPod.annotations }} + name: {{ .Values.configmap.helperPod.name }} + {{- with .Values.configmap.helperPod.annotations }} annotations: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/deploy/chart/local-path-provisioner/values.yaml b/deploy/chart/local-path-provisioner/values.yaml index 92ce61ef0771a90dfc9670bc6755b4882d247be5..bbc4fe3d7aefa3a94b29939ff59e867b683e656b 100644 --- a/deploy/chart/local-path-provisioner/values.yaml +++ b/deploy/chart/local-path-provisioner/values.yaml @@ -157,12 +157,11 @@ configmap: #!/bin/sh set -eu rm -rf "$VOL_DIR" - -helperPod: - # Allows to run the helper pod in another namespace. Uses release namespace by default. - namespaceOverride: "" - name: "helper-pod" - annotations: {} + helperPod: + # Allows to run the helper pod in another namespace. Uses release namespace by default. + namespaceOverride: "" + name: "helper-pod" + annotations: {} # Number of provisioner worker threads to call provision/delete simultaneously. # workerThreads: 4