From 40e081ffbc6b2971ed58758bcf8f67f1a88f2a36 Mon Sep 17 00:00:00 2001 From: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:39:11 -0500 Subject: [PATCH] 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. --- charts/kured/templates/daemonset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}