mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
fix: Make PVC use storageClass from values (#206)
This commit is contained in:
@@ -13,6 +13,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
{{- if .Values.dashboard.persistence.hostPath }}
|
{{- if .Values.dashboard.persistence.hostPath }}
|
||||||
storageClassName: ""
|
storageClassName: ""
|
||||||
|
{{- else }}
|
||||||
|
storageClassName: "{{ .Values.dashboard.persistence.storageClass }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
accessModes:
|
accessModes:
|
||||||
{{- if not (empty .Values.dashboard.persistence.accessModes) }}
|
{{- if not (empty .Values.dashboard.persistence.accessModes) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user