From 13e8beaabc6143c534e3144ddf515cad6c51ebcb Mon Sep 17 00:00:00 2001 From: WrenIX Date: Mon, 20 Nov 2023 23:41:51 +0100 Subject: [PATCH] fix(grampsweb): fix hostPath --- grampsweb/Chart.yaml | 2 +- grampsweb/README.md | 2 +- grampsweb/templates/pvc.yaml | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/grampsweb/Chart.yaml b/grampsweb/Chart.yaml index ca4ea15..48a56bd 100644 --- a/grampsweb/Chart.yaml +++ b/grampsweb/Chart.yaml @@ -3,6 +3,6 @@ name: grampsweb description: A Helm chart for gramps web type: application -version: 0.1.0 +version: 0.1.1 appVersion: "23.11.0" diff --git a/grampsweb/README.md b/grampsweb/README.md index d9b2ab4..a9908d0 100644 --- a/grampsweb/README.md +++ b/grampsweb/README.md @@ -1,6 +1,6 @@ # grampsweb -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 23.11.0](https://img.shields.io/badge/AppVersion-23.11.0-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 23.11.0](https://img.shields.io/badge/AppVersion-23.11.0-informational?style=flat-square) A Helm chart for gramps web diff --git a/grampsweb/templates/pvc.yaml b/grampsweb/templates/pvc.yaml index f9a8635..2a59a04 100644 --- a/grampsweb/templates/pvc.yaml +++ b/grampsweb/templates/pvc.yaml @@ -1,4 +1,8 @@ -{{- if and .Values.persistence.enabled ( not .Values.persistence.existingClaim) -}} +{{- if and + .Values.persistence.enabled + (not .Values.persistence.hostPath) + (not .Values.persistence.existingClaim) +}} kind: PersistentVolumeClaim apiVersion: v1 metadata: