diff --git a/stable/joomla/Chart.yaml b/stable/joomla/Chart.yaml index f819f80440..f4e0f9dbf4 100644 --- a/stable/joomla/Chart.yaml +++ b/stable/joomla/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: joomla -version: 6.1.1 +version: 6.1.2 appVersion: 3.9.11 description: PHP content management system (CMS) for publishing web content keywords: diff --git a/stable/joomla/templates/_helpers.tpl b/stable/joomla/templates/_helpers.tpl index 49a4a5a9b9..117c654afb 100644 --- a/stable/joomla/templates/_helpers.tpl +++ b/stable/joomla/templates/_helpers.tpl @@ -130,25 +130,25 @@ but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else {{- if .Values.global -}} {{- if .Values.global.storageClass -}} {{- if (eq "-" .Values.global.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.global.storageClass -}} + {{- printf "storageClassName: %s" .Values.global.storageClass -}} {{- end -}} {{- else -}} {{- if .Values.persistence.joomla.storageClass -}} {{- if (eq "-" .Values.persistence.joomla.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.joomla.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.joomla.storageClass -}} {{- end -}} {{- end -}} {{- end -}} {{- else -}} {{- if .Values.persistence.joomla.storageClass -}} {{- if (eq "-" .Values.persistence.joomla.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.joomla.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.joomla.storageClass -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/stable/joomla/templates/joomla-pvc.yaml b/stable/joomla/templates/joomla-pvc.yaml index a8e9d8129a..dc8bddbb90 100644 --- a/stable/joomla/templates/joomla-pvc.yaml +++ b/stable/joomla/templates/joomla-pvc.yaml @@ -14,5 +14,5 @@ spec: resources: requests: storage: {{ .Values.persistence.joomla.size | quote }} - storageClassName: {{ include "joomla.storageClass" . }} + {{ include "joomla.storageClass" . }} {{- end -}}