fix: make sure AWS only gets applied on AWS
This commit is contained in:
parent
dbf32f870b
commit
3bc23504d2
@ -21,6 +21,7 @@ snapshotController:
|
|||||||
# install controller if any capable storage driver is enabled
|
# 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")}}
|
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:
|
aws-ebs-csi-driver:
|
||||||
enabled: {{ default false (index .Values "storage" "aws-ebs-csi-driver" "enabled")}}
|
enabled: {{ default false (index .Values "storage" "aws-ebs-csi-driver" "enabled")}}
|
||||||
controller:
|
controller:
|
||||||
@ -92,6 +93,8 @@ aws-efs-csi-driver:
|
|||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- define "storage-argo" }}
|
{{- define "storage-argo" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user