fix(helm-chart): fix indentation bug in env configmap

This commit is contained in:
Fernando Almeida 2022-01-25 16:46:11 +00:00
parent 36b5982630
commit 86887e8559
1 changed files with 4 additions and 4 deletions

View File

@ -11,10 +11,10 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
data: data:
{{- range $index, $value := .Values.emqxConfig }} {{- range $index, $value := .Values.emqxConfig }}
{{- if ne $value nil }} {{- if ne $value nil }}
{{- $key := (regexReplaceAllLiteral "\\." (regexReplaceAllLiteral "EMQX[_\\.]" (upper (trimAll " " $index)) "") "__") }} {{- $key := (regexReplaceAllLiteral "\\." (regexReplaceAllLiteral "EMQX[_\\.]" (upper (trimAll " " $index)) "") "__") }}
{{ print "EMQX_" $key }}: {{ $value | quote }} {{ print "EMQX_" $key }}: {{ $value | quote }}
{{- end }} {{- end }}
{{- end}} {{- end}}
{{- end }} {{- end }}