fix yaml parse error
This commit is contained in:
parent
aa8f142c4f
commit
7dd5c75450
@ -7,9 +7,5 @@ metadata:
|
||||
app: {{ .Release.Name }}
|
||||
type: Opaque
|
||||
data:
|
||||
configDB.conf: |
|
||||
{{- $connection := .Values.dbConfig.connection | quote }}
|
||||
{{- $user := .Values.dbConfig.user | quote }}
|
||||
{{- $password := .Values.dbConfig.password | quote }}
|
||||
{{- printf "%%dbconfig= (\n connection => \"%s\",\n user => \"%s\",\n password => \"%s\"\n);" $connection $user $password | b64enc }}
|
||||
configDB.conf: {{ printf "%%dbconfig= (\n connection => '%s',\n user => '%s',\n password => '%s'\n);" .Values.dbConfig.connection .Values.dbConfig.user .Values.dbConfig.password | b64enc }}
|
||||
{{- end }}
|
Loading…
Reference in New Issue
Block a user