fixed storageClass mapping
Some checks failed
generate-chart / generate-chart-publish (push) Failing after 19s

This commit is contained in:
0x6b-dev 2023-06-26 01:18:28 +10:00
parent 3e38808823
commit b13d4edcc5

View File

@ -56,7 +56,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
Storage Class Storage Class
*/}} */}}
{{- define "homebox.persistence.storageClass" -}} {{- define "homebox.persistence.storageClass" -}}
{{- $storageClass := .Values.global.storageClass | default .Values.persistence.storageClass }} {{- $storageClass := .Values.persistence.storageClass }}
{{- if $storageClass }} {{- if $storageClass }}
storageClassName: {{ $storageClass | quote }} storageClassName: {{ $storageClass | quote }}
{{- end }} {{- end }}