Skip to content

Commit

Permalink
Fix number values in secret.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Amin Bashiri <[email protected]>
  • Loading branch information
bshramin committed Jul 2, 2023
1 parent dd9e27a commit c63263a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/opencost/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ metadata:
{{- end }}
data:
{{- if .Values.opencost.prometheus.username }}
{{ .Values.opencost.prometheus.username_key }}: {{ .Values.opencost.prometheus.username | b64enc | quote }}
{{ .Values.opencost.prometheus.username_key }}: {{ .Values.opencost.prometheus.username | toString | b64enc | quote }}
{{- end }}
{{- if .Values.opencost.prometheus.password }}
{{ .Values.opencost.prometheus.password_key }}: {{ .Values.opencost.prometheus.password | b64enc | quote }}
{{ .Values.opencost.prometheus.password_key }}: {{ .Values.opencost.prometheus.password | toString | b64enc | quote }}
{{- end }}
{{- if .Values.opencost.prometheus.bearer_token }}
{{ .Values.opencost.prometheus.bearer_token_key }}: {{ .Values.opencost.prometheus.bearer_token | b64enc | quote }}
Expand Down

0 comments on commit c63263a

Please sign in to comment.