From dc539e38c0da1b8c9deef86eca181d8c1e5124b5 Mon Sep 17 00:00:00 2001
From: JustusBunsi <61625851+justusbunsi@users.noreply.github.com>
Date: Mon, 17 Jun 2024 16:05:14 +0200
Subject: [PATCH] Move helperPod namespace into metadata

Signed-off-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com>
---
 deploy/chart/local-path-provisioner/templates/configmap.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml
index 20c6263d..91a53190 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 }}
-- 
GitLab