fix: make sure AWS only gets applied on AWS

This commit is contained in:
Stefan Reimer 2024-11-13 17:27:05 +00:00
parent dbf32f870b
commit 3bc23504d2

View File

@ -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 }}