Skip to content

Commit

Permalink
Add whitespace control
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Austermühle <[email protected]>
  • Loading branch information
stephan2012 committed Mar 4, 2024
1 parent 4b0a66b commit de716b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/nextcloud/templates/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ spec:
{{/* Add the volumeMounts and environment variables to every container */}}
{{- $containers := list -}}
{{- range .jobTemplate.spec.template.spec.containers -}}
{{- $vm := dict "volumeMounts" (concat (include "nextcloud.backupCronJobVolumeMounts" $ | fromYamlArray) (default list .volumeMounts)) -}}
{{ $c := merge $vm . }}
{{- $env := dict "env" (concat (include "nextcloud.backupCronJobEnv" $ | fromYamlArray) (default list .env)) -}}
{{ $c = merge $env $c }}
{{- $vm := dict "volumeMounts" (concat (include "nextcloud.backupCronJobVolumeMounts" $ | fromYamlArray) (default list .volumeMounts)) -}}
{{- $c := merge $vm . -}}
{{- $env := dict "env" (concat (include "nextcloud.backupCronJobEnv" $ | fromYamlArray) (default list .env)) -}}
{{- $c = merge $env $c -}}
{{- $containers = append $containers $c -}}
{{- end -}}

Expand Down

0 comments on commit de716b6

Please sign in to comment.