From 615948c73fd9eca56fe7672a77b5b4acd04f5411 Mon Sep 17 00:00:00 2001 From: Paolo Mainardi Date: Tue, 20 Aug 2019 15:00:59 +0200 Subject: [PATCH] refs #914: Fix identation for args and vars --- deployment/chart/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/chart/templates/deployment.yaml b/deployment/chart/templates/deployment.yaml index 1d5ca900..63a84d61 100644 --- a/deployment/chart/templates/deployment.yaml +++ b/deployment/chart/templates/deployment.yaml @@ -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