Skip to content

Commit

Permalink
fix: Change merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoya-de committed Sep 24, 2024
1 parent f0eba7c commit fa6399a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/matomo/templates/cronjob-archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ spec:
value: {{ .Values.database.dbname | quote }}
- name: MATOMO_GENERAL_SALT
value: {{ required "`.Values.salt` is not set." .Values.salt | quote }}
{{- $extraEnvs := (deepCopy .Values.extraEnvs | mergeOverwrite .Values.cronjobs.archive.extraEnvs) }}
{{- $matomoExtraEnvs := (deepCopy .Values.extraEnvs) }}
{{- $archiveExtraEnvs := (deepCopy .Values.cronjobs.archive.extraEnvs) }}
{{- $extraEnvs := (mergeOverwrite $matomoExtraEnvs $archiveExtraEnvs) }}
{{- range $key, $value := $extraEnvs }}
- name: {{ $key }}
value: {{ $value | quote }}
Expand Down

0 comments on commit fa6399a

Please sign in to comment.