From 3bc23504d2d35e39e124ecd56510fbd7e57ca110 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 13 Nov 2024 17:27:05 +0000 Subject: [PATCH] fix: make sure AWS only gets applied on AWS --- charts/kubezero/templates/storage.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/kubezero/templates/storage.yaml b/charts/kubezero/templates/storage.yaml index 129ff375..b8e54cf4 100644 --- a/charts/kubezero/templates/storage.yaml +++ b/charts/kubezero/templates/storage.yaml @@ -21,6 +21,7 @@ snapshotController: # install controller if any capable storage driver is enabled enabled: {{ or (index .Values "storage" "lvm-localpv" "enabled") (index .Values "storage" "aws-ebs-csi-driver" "enabled")}} +{{- if eq .Values.global.platform "aws" }} aws-ebs-csi-driver: enabled: {{ default false (index .Values "storage" "aws-ebs-csi-driver" "enabled")}} controller: @@ -92,6 +93,8 @@ aws-efs-csi-driver: {{- end }} +{{- end }} + {{- define "storage-argo" }} {{- end }}