Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wissamataleh committed Aug 15, 2021
1 parent 4e14900 commit 6ebc89a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions charts/drone/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "drone.fullname" . }}{{- end }}
{{- else }}
emptyDir: {}
{{- end }}

0 comments on commit 6ebc89a

Please sign in to comment.