Skip to content

Commit 15c6ecf

Browse files
authored
fix: decode string in chart template
1 parent 5a26203 commit 15c6ecf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install/helm/charts/common/templates/_secrets.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Params:
4343
{{- if empty $value -}}
4444
{{- $secretData := (lookup "v1" "Secret" (include "common.namespace" .context) .secret).data -}}
4545
{{- if and $secretData (hasKey $secretData .key) -}}
46-
{{- $value = index $secretData .key -}}
46+
{{- $value = index $secretData .key | b64dec -}}
4747
{{- end -}}
4848
{{- end -}}
4949
{{- if empty $value -}}

0 commit comments

Comments
 (0)