From 041f88b30b259c5841331cc88ba0fe9a8cf3ee46 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 27 Apr 2022 13:39:45 +0100 Subject: [PATCH] update helm claims again --- charts/budibase/templates/minio-data-persistentvolumeclaim.yaml | 2 ++ charts/budibase/templates/redis-data-persistentvolumeclaim.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/budibase/templates/minio-data-persistentvolumeclaim.yaml b/charts/budibase/templates/minio-data-persistentvolumeclaim.yaml index 9d15ca4e19..abcf341bc5 100644 --- a/charts/budibase/templates/minio-data-persistentvolumeclaim.yaml +++ b/charts/budibase/templates/minio-data-persistentvolumeclaim.yaml @@ -12,6 +12,8 @@ spec: resources: requests: storage: {{ .Values.services.objectStore.storage }} + {{ if .Values.services.objectStore.storageClass }} storageClassName: {{ .Values.services.objectStore.storageClass }} + {{- end }} status: {} {{- end }} diff --git a/charts/budibase/templates/redis-data-persistentvolumeclaim.yaml b/charts/budibase/templates/redis-data-persistentvolumeclaim.yaml index f76ee8e808..6f11492b58 100644 --- a/charts/budibase/templates/redis-data-persistentvolumeclaim.yaml +++ b/charts/budibase/templates/redis-data-persistentvolumeclaim.yaml @@ -12,6 +12,8 @@ spec: resources: requests: storage: {{ .Values.services.redis.storage }} + {{ if .Values.services.redis.storageClass }} storageClassName: {{ .Values.services.redis.storageClass }} + {{ end }} status: {} {{- end }}