helm: fix consistent indentation, chomping, and use of with (#19918)

This commit is contained in:
Erik Sundell
2022-11-10 23:24:39 +01:00
committed by GitHub
parent 86f6631d28
commit 302a58c22b
13 changed files with 61 additions and 43 deletions

View File

@ -1,4 +1,4 @@
{{- if (not .Values.mastodon.s3.enabled) }}
{{- if (not .Values.mastodon.s3.enabled) -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@ -8,7 +8,9 @@ metadata:
spec:
accessModes:
- {{ .Values.mastodon.persistence.system.accessMode }}
{{- with .Values.mastodon.persistence.system.resources }}
resources:
{{- toYaml .Values.mastodon.persistence.system.resources | nindent 4}}
{{- toYaml . | nindent 4 }}
{{- end }}
storageClassName: {{ .Values.mastodon.persistence.system.storageClassName }}
{{- end }}