Skip to content

Commit

Permalink
Merge pull request #43 from Digitalist-Open-Cloud/pre_upgrade_with_ex…
Browse files Browse the repository at this point in the history
…tra_mount

Pre upgrade with extra mount
  • Loading branch information
mikkeschiren authored Nov 5, 2024
2 parents 14109e7 + 4912d8b commit 8f02773
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion charts/matomo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
appVersion: "5.1.2"
description: A Helm chart for Matomo
name: matomo
version: 11.0.46
version: 11.0.47
7 changes: 0 additions & 7 deletions charts/matomo/templates/pre-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ spec:
- name: matomo-pre-upgrade-additional-config-maps
mountPath: /var/www/html/config/common.config.ini.php
subPath: common.config.ini.php

{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 8 }}
{{- end }}
# To do anything with Matomo, we first need to bootstrap it (curl).
command: [ 'bash' , '-c' , 'sleep {{.Values.matomo.preUpgradeSleepTime}}; curl -Il https://{{.Values.matomo.dashboard.hostname}}; {{.Values.matomo.preUpgradeCommand}}' ]
env:
Expand Down Expand Up @@ -73,7 +69,4 @@ spec:
configMap:
name: matomo-pre-upgrade-additional-config-maps
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{- end }}
{{- end -}}

0 comments on commit 8f02773

Please sign in to comment.