Skip to content
Snippets Groups Projects
Commit b216f267 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

quote all secret values

parent 705cd6d1
No related branches found
No related tags found
No related merge requests found
Pipeline #7787 passed with stages
in 37 seconds
...@@ -11,6 +11,8 @@ metadata: ...@@ -11,6 +11,8 @@ metadata:
{{- include "common.variables.labels" . | nindent 4 }} {{- include "common.variables.labels" . | nindent 4 }}
type: {{ .Values.type | default "Opaque" }} type: {{ .Values.type | default "Opaque" }}
data: data:
{{- (include "common.secret.variables.data" .) | nindent 2 }} {{- range $key, $value := (include "common.secret.variables.data" . | fromYaml) }}
{{ $key }}: {{ $value | quote }}
{{- end }}
--- ---
{{- end }} {{- end }}
...@@ -28,8 +28,8 @@ secrets: ...@@ -28,8 +28,8 @@ secrets:
name: example-secret1 name: example-secret1
type: Opaque type: Opaque
data: data:
username: example username: "example"
password: example password: 'example'
volumes: volumes:
persistentVolumes: persistentVolumes:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment