Explorar el Código

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

Fernando Almeida hace 4 años
padre
commit
86887e8559
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      deploy/charts/emqx/templates/configmap.env.yaml

+ 4 - 4
deploy/charts/emqx/templates/configmap.env.yaml

@@ -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 }}