From f093eb9abf724bb7635c38db302d6f1ff87bd927 Mon Sep 17 00:00:00 2001 From: yaraskm <62650344+yaraskm@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:19:29 -0500 Subject: [PATCH] 71: Fix volume mounting (#72) * 71: Fix volume mounting - As outlined in #71, trying to add a custom volumeMount will fail Helm templating because the mount will be indented too far by two spaces. - This was tested locally and resolves the templating issue. Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com> * Bumped chart version as per PR review Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com> --------- Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com> --- charts/kured/Chart.yaml | 2 +- charts/kured/templates/daemonset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kured/Chart.yaml b/charts/kured/Chart.yaml index 9cd1117..f8ccecc 100644 --- a/charts/kured/Chart.yaml +++ b/charts/kured/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.15.0" description: A Helm chart for kured name: kured -version: 5.4.1 +version: 5.4.2 home: https://github.com/kubereboot/kured maintainers: - name: chopf diff --git a/charts/kured/templates/daemonset.yaml b/charts/kured/templates/daemonset.yaml index 86f7e7a..050aed5 100644 --- a/charts/kured/templates/daemonset.yaml +++ b/charts/kured/templates/daemonset.yaml @@ -206,7 +206,7 @@ spec: readOnly: true {{- end }} {{- if .Values.volumeMounts }} -{{- toYaml .Values.volumeMounts | nindent 12 }} +{{- toYaml .Values.volumeMounts | nindent 10 }} {{- end }} ports: - containerPort: {{ .Values.configuration.metricsPort }}