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
Branches master
Tags 1.0.0
No related merge requests found
Pipeline #7787 passed with stages
in 37 seconds
......@@ -11,6 +11,8 @@ metadata:
{{- include "common.variables.labels" . | nindent 4 }}
type: {{ .Values.type | default "Opaque" }}
data:
{{- (include "common.secret.variables.data" .) | nindent 2 }}
{{- range $key, $value := (include "common.secret.variables.data" . | fromYaml) }}
{{ $key }}: {{ $value | quote }}
{{- end }}
---
{{- end }}
......@@ -28,8 +28,8 @@ secrets:
name: example-secret1
type: Opaque
data:
username: example
password: example
username: "example"
password: 'example'
volumes:
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