From 3779f1afb7c260351b66e846a7916751f88fb112 Mon Sep 17 00:00:00 2001 From: ferndem <39851927+ferndem@users.noreply.github.com> Date: Thu, 18 Jan 2024 12:27:56 +0100 Subject: [PATCH] Update templates/webhooks deployment Align deployment for extraVolumes and extraVolumesMount for fix problem Error: YAML parse error on keda/templates/webhooks/deployment.yaml: error converting YAML to JSON: yaml: line 96: did not find expected key Signed-off-by: ferndem <39851927+ferndem@users.noreply.github.com> --- keda/templates/webhooks/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keda/templates/webhooks/deployment.yaml b/keda/templates/webhooks/deployment.yaml index 314598bd..17f77bb9 100644 --- a/keda/templates/webhooks/deployment.yaml +++ b/keda/templates/webhooks/deployment.yaml @@ -137,7 +137,7 @@ spec: name: certificates readOnly: true {{- if .Values.volumes.webhooks.extraVolumeMounts }} - {{- toYaml .Values.volumes.webhooks.extraVolumeMounts | nindent 12 }} + {{- toYaml .Values.volumes.webhooks.extraVolumeMounts | nindent 10 }} {{- end }} resources: {{- if .Values.resources.webhooks }} @@ -151,7 +151,7 @@ spec: defaultMode: 420 secretName: {{ .Values.certificates.secretName }} {{- if .Values.volumes.webhooks.extraVolumes }} - {{- toYaml .Values.volumes.webhooks.extraVolumes | nindent 8 }} + {{- toYaml .Values.volumes.webhooks.extraVolumes | nindent 6 }} {{- end }} hostNetwork: {{ .Values.webhooks.useHostNetwork }} nodeSelector: