helm: fix consistent indentation, chomping, and use of with (#19918)
This commit is contained in:
parent
86f6631d28
commit
302a58c22b
13 changed files with 61 additions and 43 deletions
|
@ -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.assets.resources }}
|
||||
resources:
|
||||
{{- toYaml .Values.mastodon.persistence.assets.resources | nindent 4}}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
storageClassName: {{ .Values.mastodon.persistence.assets.storageClassName }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue