From 2d4a8bb02a8f8b704fabf0884597fa4f7c4ce7d3 Mon Sep 17 00:00:00 2001 From: Kamil Krzywicki <12999736+camaeel@users.noreply.github.com> Date: Fri, 19 Aug 2022 09:46:55 +0200 Subject: [PATCH] Add support for ebs-csi-driver --- pkg/pvc/util.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/pvc/util.go b/pkg/pvc/util.go index 7b97e5f..a02005e 100644 --- a/pkg/pvc/util.go +++ b/pkg/pvc/util.go @@ -7,6 +7,9 @@ func isEBSVolume(volume *v1.PersistentVolumeClaim) bool { if k == "volume.beta.kubernetes.io/storage-provisioner" && v == "kubernetes.io/aws-ebs" { return true } + if k == "volume.beta.kubernetes.io/storage-provisioner" && v == "ebs.csi.aws.com" { + return true + } } return false }