Skip to content

Commit

Permalink
fix: quote all optional fields in sink secret
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
TylerGillson committed Nov 17, 2023
1 parent cc07547 commit e0a1365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/validator/templates/sink-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
stringData:
{{- if eq .Values.sink.type "alertmanager" }}
endpoint: {{ required ".Values.sink.endpoint is required!" .Values.sink.endpoint }}
username: {{ .Values.sink.username }}
password: {{ .Values.sink.password }}
username: {{ .Values.sink.username | quote }}
password: {{ .Values.sink.password | quote }}
insecureSkipVerify: {{ .Values.sink.insecureSkipVerify | quote }}
caCert: |
{{ .Values.sink.caCert | indent 4 }}
Expand Down

0 comments on commit e0a1365

Please sign in to comment.