diff --git a/stable/osclass/Chart.yaml b/stable/osclass/Chart.yaml index da5d92e3a8..8126e2b22a 100644 --- a/stable/osclass/Chart.yaml +++ b/stable/osclass/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: osclass -version: 6.1.1 +version: 6.1.2 appVersion: 3.7.4 description: Osclass is a php script that allows you to quickly create and manage your own free classifieds site. diff --git a/stable/osclass/templates/_helpers.tpl b/stable/osclass/templates/_helpers.tpl index ba3e322554..2166c4434d 100644 --- a/stable/osclass/templates/_helpers.tpl +++ b/stable/osclass/templates/_helpers.tpl @@ -152,25 +152,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.osclass.torageClass -}} {{- if (eq "-" .Values.persistence.osclass.torageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.osclass.torageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.osclass.torageClass -}} {{- end -}} {{- end -}} {{- end -}} {{- else -}} {{- if .Values.persistence.osclass.torageClass -}} {{- if (eq "-" .Values.persistence.osclass.torageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.osclass.torageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.osclass.torageClass -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/stable/osclass/templates/osclass-pvc.yaml b/stable/osclass/templates/osclass-pvc.yaml index 466c8d7d58..88f7dea9c9 100644 --- a/stable/osclass/templates/osclass-pvc.yaml +++ b/stable/osclass/templates/osclass-pvc.yaml @@ -14,5 +14,5 @@ spec: resources: requests: storage: {{ .Values.persistence.osclass.size | quote }} - storageClassName: {{ include "osclass.storageClass" . }} + {{ include "osclass.storageClass" . }} {{- end -}}