From 14090b15e3f717801d6b21fc661541859d9d4f90 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 5 Dec 2024 22:26:14 +0100 Subject: [PATCH] Fix extra volumes --- Chart.yaml | 4 ++-- templates/deployment.yaml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index c91e369..f6a4a7e 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -4,8 +4,8 @@ name: basic-web-app PullName: basic-app-puller description: A basic Helm chart to have PHP webapps in Kubernetes. It supports webhook for pulling from gitea type: application -version: 2.2.0 -appVersion: "2.2.0" +version: 2.2.1 +appVersion: "2.2.1" dependencies: - name: postgresql diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 7d2cb61..a7cc903 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -167,3 +167,8 @@ spec: - key: {{ .Values.configWeb.key }} path: {{ .Values.configWeb.key }} {{- end }} + {{- range .Values.extraVolumesWeb }} + - name: {{ .name }} + persistentVolumeClaim: + claimName: {{ .name }} + {{- end}}