From e10c1eeef0b4c882f33a73dd4d97cbc314844293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikke=20Schir=C3=A9n?= Date: Mon, 4 Nov 2024 14:47:23 +0100 Subject: [PATCH] mount extra volumes if defined --- charts/matomo/Chart.yaml | 2 +- charts/matomo/templates/post-install-job.yaml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/matomo/Chart.yaml b/charts/matomo/Chart.yaml index 05faa043..86d0c310 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.39 +version: 11.0.40 diff --git a/charts/matomo/templates/post-install-job.yaml b/charts/matomo/templates/post-install-job.yaml index 313a09cf..fa5d1ec7 100644 --- a/charts/matomo/templates/post-install-job.yaml +++ b/charts/matomo/templates/post-install-job.yaml @@ -57,4 +57,10 @@ spec: name: {{ .Values.db.password.secretKeyRef.name }} key: {{ .Values.db.password.secretKeyRef.key }} {{ include "matomo.license" . | nindent 8 }} -{{- end -}} \ No newline at end of file +{{- end -}} +{{- if .Values.extraVolumeMounts }} +{{ toYaml .Values.extraVolumeMounts | indent 10 }} +{{- end }} +{{- if .Values.extraVolumes }} +{{ toYaml .Values.extraVolumes | indent 6 }} +{{- end }} \ No newline at end of file