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
|
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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user