refs #914: Fix identation for args and vars

This commit is contained in:
Paolo Mainardi 2019-08-20 15:00:59 +02:00
parent 19541c27ff
commit 615948c73f
No known key found for this signature in database
GPG Key ID: A64DD5681178837B

View File

@ -56,6 +56,9 @@ spec:
runAsUser: {{ .Values.securityContext.runAsUser }}
{{- end }}
env:
{{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 10 }}
{{- end }}
- name: PASSWORD
valueFrom:
secretKeyRef:
@ -65,12 +68,9 @@ spec:
name: {{ template "code-server.fullname" . }}
{{- end }}
key: password
{{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 12 }}
{{- end }}
{{- if .Values.extraArgs }}
args:
{{ toYaml .Values.extraArgs | indent 12 }}
{{ toYaml .Values.extraArgs | indent 10 }}
{{- end }}
volumeMounts:
- name: data