fix(helm-chart): fix indentation bug in env configmap
This commit is contained in:
parent
36b5982630
commit
86887e8559
|
@ -11,10 +11,10 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
data:
|
||||
{{- range $index, $value := .Values.emqxConfig }}
|
||||
{{- if ne $value nil }}
|
||||
{{- $key := (regexReplaceAllLiteral "\\." (regexReplaceAllLiteral "EMQX[_\\.]" (upper (trimAll " " $index)) "") "__") }}
|
||||
{{ print "EMQX_" $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- if ne $value nil }}
|
||||
{{- $key := (regexReplaceAllLiteral "\\." (regexReplaceAllLiteral "EMQX[_\\.]" (upper (trimAll " " $index)) "") "__") }}
|
||||
{{ print "EMQX_" $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end}}
|
||||
|
||||
{{- end }}
|
Loading…
Reference in New Issue