From be7f0d8558317884bdddcf84d70d25268f425507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikke=20Schir=C3=A9n?= Date: Tue, 5 Nov 2024 11:04:37 +0100 Subject: [PATCH] extra volumes not needed when specifing new configmap --- charts/matomo/Chart.yaml | 2 +- charts/matomo/templates/pre-upgrade-job.yaml | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/charts/matomo/Chart.yaml b/charts/matomo/Chart.yaml index 0be2ce4..1253115 100644 --- a/charts/matomo/Chart.yaml +++ b/charts/matomo/Chart.yaml @@ -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 diff --git a/charts/matomo/templates/pre-upgrade-job.yaml b/charts/matomo/templates/pre-upgrade-job.yaml index f6b0683..dafd7e4 100644 --- a/charts/matomo/templates/pre-upgrade-job.yaml +++ b/charts/matomo/templates/pre-upgrade-job.yaml @@ -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: @@ -73,7 +69,4 @@ spec: configMap: name: matomo-pre-upgrade-additional-config-maps {{- end }} -{{- if .Values.extraVolumes }} -{{ toYaml .Values.extraVolumes | indent 8 }} -{{- end }} {{- end -}}