From 6ebc89a19316cdb9f10bdf00fcbad054863d9368 Mon Sep 17 00:00:00 2001 From: wissam Date: Mon, 16 Aug 2021 02:12:40 +0300 Subject: [PATCH] Fix indentation --- charts/drone/templates/deployment.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/drone/templates/deployment.yaml b/charts/drone/templates/deployment.yaml index d7fb20c..168e69a 100644 --- a/charts/drone/templates/deployment.yaml +++ b/charts/drone/templates/deployment.yaml @@ -58,10 +58,10 @@ spec: volumeMounts: - name: storage-volume mountPath: {{ .Values.persistence.mountPath }} - subPath: {{ .Values.persistence.subPath | quote }} - {{- with .Values.extraVolumeMounts }} - {{ toYaml . | nindent 12 }} - {{- end }} + subPath: "{{ .Values.persistence.subPath }}" + {{- with .Values.extraVolumeMounts }} + {{ toYaml . | nindent 12 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} @@ -79,9 +79,9 @@ spec: {{ toYaml .Values.extraVolumes | nindent 8}} {{- end }} - name: storage-volume - {{- if .Values.persistence.enabled }} - persistentVolumeClaim: - claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "drone.fullname" . }}{{- end }} - {{- else }} - emptyDir: {} - {{- end }} \ No newline at end of file + {{- if .Values.persistence.enabled }} + persistentVolumeClaim: + claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "drone.fullname" . }}{{- end }} + {{- else }} + emptyDir: {} + {{- end }} \ No newline at end of file