forked from coo-ops.space/helm-charts
fixed storageClass mapping
This commit is contained in:
parent
3e38808823
commit
b13d4edcc5
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user