From 86469fa368843cdf739e2cfb4ed6359c0ae3c01d Mon Sep 17 00:00:00 2001 From: JustusBunsi <61625851+justusbunsi@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:46:01 +0100 Subject: [PATCH] Move helperPod values into configmap Signed-off-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com> --- .../local-path-provisioner/templates/configmap.yaml | 6 +++--- deploy/chart/local-path-provisioner/values.yaml | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml index e19ae4fa..20c6263d 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 92ce61ef..bbc4fe3d 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 -- GitLab