Skip to content

Commit

Permalink
refs coder#914: Fix identation for args and vars
Browse files Browse the repository at this point in the history
  • Loading branch information
paolomainardi committed Aug 20, 2019
1 parent 19541c2 commit 615948c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployment/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
runAsUser: {{ .Values.securityContext.runAsUser }}
{{- end }}
env:
{{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 10 }}
{{- end }}
- name: PASSWORD
valueFrom:
secretKeyRef:
Expand All @@ -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
Expand Down

0 comments on commit 615948c

Please sign in to comment.