Skip to content

Commit

Permalink
Update templates/webhooks deployment (#590)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ferndem authored Jan 18, 2024
1 parent 641f2b0 commit 4fcfd8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keda/templates/webhooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 4fcfd8f

Please sign in to comment.