File tree Expand file tree Collapse file tree
charts/nextcloud/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ spec:
1919 {{/* Add the volumeMounts and environment variables to every container */}}
2020 {{- $containers := list -}}
2121 {{- range .jobTemplate.spec.template.spec.containers -}}
22- {{- $vm := dict "volumeMounts" (concat (include "nextcloud.backupCronJobVolumeMounts" $ | fromYamlArray) (default list .volumeMounts)) -}}
23- {{ $c := merge $vm . }}
24- {{- $env := dict "env" (concat (include "nextcloud.backupCronJobEnv" $ | fromYamlArray) (default list .env)) -}}
25- {{ $c = merge $env $c }}
22+ {{- $vm := dict "volumeMounts" (concat (include "nextcloud.backupCronJobVolumeMounts" $ | fromYamlArray) (default list .volumeMounts)) -}}
23+ {{- $c := merge $vm . - }}
24+ {{- $env := dict "env" (concat (include "nextcloud.backupCronJobEnv" $ | fromYamlArray) (default list .env)) -}}
25+ {{- $c = merge $env $c - }}
2626 {{- $containers = append $containers $c -}}
2727 {{- end -}}
2828
You can’t perform that action at this time.
0 commit comments