Archived
1
0

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