Enable snapshotcontroller if any capable driver is enabled

This commit is contained in:
Stefan Reimer 2023-08-22 12:17:02 +00:00
parent 041bda4863
commit eb172f909d
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,8 @@ k8up:
{{- end }}
snapshotController:
enabled: {{ default false (index .Values "storage" "gemini" "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")}}
aws-ebs-csi-driver:
enabled: {{ default false (index .Values "storage" "aws-ebs-csi-driver" "enabled")}}

View File

@ -43,6 +43,8 @@ cert-manager:
storage:
enabled: false
targetRevision: 0.8.3
lvm-localpv:
enabled: false
aws-ebs-csi-driver:
enabled: false
aws-efs-csi-driver: