From 7a253350287c4216b4deb1c7cc2af441006f84d0 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Sun, 5 Feb 2023 15:56:45 +0000 Subject: [PATCH] Fix PVC+PV definition in chart --- charts/helm-dashboard/templates/pvc.yaml | 6 +++++- pkg/dashboard/static/index.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/helm-dashboard/templates/pvc.yaml b/charts/helm-dashboard/templates/pvc.yaml index 4ed5104..96d7336 100644 --- a/charts/helm-dashboard/templates/pvc.yaml +++ b/charts/helm-dashboard/templates/pvc.yaml @@ -42,7 +42,11 @@ metadata: {{- end }} spec: accessModes: - - {{ .Values.dashboard.persistence.accessMode | quote }} + {{- if not (empty .Values.dashboard.persistence.accessModes) }} + {{- range .Values.dashboard.persistence.accessModes }} + - {{ . | quote }} + {{- end }} + {{- end }} capacity: storage: {{ .Values.dashboard.persistence.size | quote }} hostPath: diff --git a/pkg/dashboard/static/index.html b/pkg/dashboard/static/index.html index 9eb8cab..e3fcde6 100644 --- a/pkg/dashboard/static/index.html +++ b/pkg/dashboard/static/index.html @@ -156,7 +156,7 @@
Name
-
Chart Status
+
Release Status
Chart
Revision
Namespace