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 .Values.mastodon.cron.removeMedia.enabled }}
|
||||
{{ if .Values.mastodon.cron.removeMedia.enabled -}}
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
|
@ -12,10 +12,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
name: {{ include "mastodon.fullname" . }}-media-remove
|
||||
{{- with .Values.jobAnnotations }}
|
||||
{{- with .Values.jobAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
{{- if (not .Values.mastodon.s3.enabled) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue