Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Add support for ebs-csi-driver #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/pvc/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}