From b13d4edcc594e1e4ec2e0cd5d1847305fff9affb Mon Sep 17 00:00:00 2001 From: 0x6b-dev Date: Mon, 26 Jun 2023 01:18:28 +1000 Subject: [PATCH] fixed storageClass mapping --- charts/stable/homebox/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/stable/homebox/templates/_helpers.tpl b/charts/stable/homebox/templates/_helpers.tpl index befecc6..fc5cd9d 100644 --- a/charts/stable/homebox/templates/_helpers.tpl +++ b/charts/stable/homebox/templates/_helpers.tpl @@ -56,7 +56,7 @@ app.kubernetes.io/instance: {{ .Release.Name }} Storage Class */}} {{- define "homebox.persistence.storageClass" -}} -{{- $storageClass := .Values.global.storageClass | default .Values.persistence.storageClass }} +{{- $storageClass := .Values.persistence.storageClass }} {{- if $storageClass }} storageClassName: {{ $storageClass | quote }} {{- end }}