helm: fix consistent indentation, chomping, and use of with (#19918)
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user