From c2aabd14ac63fa86c11d2e34bbf881c9866780c1 Mon Sep 17 00:00:00 2001 From: Ween Jiann Date: Tue, 18 May 2021 09:55:04 +0800 Subject: [PATCH] Fix storageClass (#353) --- charts/invoiceninja/Chart.yaml | 2 +- charts/invoiceninja/templates/_helpers.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/invoiceninja/Chart.yaml b/charts/invoiceninja/Chart.yaml index 71c2b59..965b06b 100644 --- a/charts/invoiceninja/Chart.yaml +++ b/charts/invoiceninja/Chart.yaml @@ -13,7 +13,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.1 +version: 0.4.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/charts/invoiceninja/templates/_helpers.tpl b/charts/invoiceninja/templates/_helpers.tpl index 2e3a98d..4322532 100644 --- a/charts/invoiceninja/templates/_helpers.tpl +++ b/charts/invoiceninja/templates/_helpers.tpl @@ -59,14 +59,14 @@ Create the name of the service account to use Return the proper Storage Class */}} {{- define "invoiceninja.public.storageClass" -}} -{{- include "common.storage.class" (dict "persistence" .Values.persistence "global" .Values.global) -}} +{{- include "common.storage.class" (dict "persistence" .Values.persistence.public "global" .Values.global) -}} {{- end -}} {{/* Return the proper Storage Class */}} {{- define "invoiceninja.storage.storageClass" -}} -{{- include "common.storage.class" (dict "persistence" .Values.persistence "global" .Values.global) -}} +{{- include "common.storage.class" (dict "persistence" .Values.persistence.storage "global" .Values.global) -}} {{- end -}} {{/*