fix(chart): wrap secret values into quotes automatically

This commit is contained in:
Grraahaam
2023-01-31 12:39:59 +01:00
parent aa5d761081
commit a6b9400a4a
2 changed files with 2 additions and 2 deletions

View File

@@ -76,6 +76,6 @@ metadata:
type: Opaque
data:
{{- range $key, $value := $backend.secrets }}
{{ $key }}: {{ $value | b64enc }}
{{ $key }}: {{ $value | quote | b64enc }}
{{- end }}
{{- end }}

View File

@@ -73,6 +73,6 @@ metadata:
type: Opaque
data:
{{- range $key, $value := $frontend.secrets }}
{{ $key }}: {{ $value | b64enc }}
{{ $key }}: {{ $value | quote | b64enc }}
{{- end }}
{{- end }}