diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml
index 20c6263db73cbe253a5a3d48bad8bb66735f07d6..91a531905d5334ac9c019a436816a1262a0671b1 100644
--- a/deploy/chart/local-path-provisioner/templates/configmap.yaml
+++ b/deploy/chart/local-path-provisioner/templates/configmap.yaml
@@ -36,9 +36,9 @@ data:
   helperPod.yaml: |-
     apiVersion: v1
     kind: Pod
-    namespace: {{ default .Release.Namespace .Values.configmap.helperPod.namespaceOverride }}
     metadata:
       name: {{ .Values.configmap.helperPod.name }}
+      namespace: {{ default .Release.Namespace .Values.configmap.helperPod.namespaceOverride }}
       {{- with .Values.configmap.helperPod.annotations }}
       annotations:
         {{- toYaml . | nindent 8 }}