From 8fbe47ded626bfd0321f4d8ce5c00513a0b1fe5a Mon Sep 17 00:00:00 2001 From: yevhenvolchenko Date: Thu, 13 Oct 2022 20:49:43 +0100 Subject: [PATCH] [BUG] pkg/driver/controller.go uses ToLower https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/pkg/driver/controller.go#L139 All the parameters transformed to lower key, thus they should be compared to strings in lower key --- pkg/driver/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/driver/constants.go b/pkg/driver/constants.go index c5adc3aa98..ca3bf091b8 100644 --- a/pkg/driver/constants.go +++ b/pkg/driver/constants.go @@ -70,7 +70,7 @@ const ( PVNameKey = "csi.storage.k8s.io/pv/name" // BlockExpressKey increases the iops limit for io2 volumes to the block express limit - BlockExpressKey = "blockExpress" + BlockExpressKey = "blockexpress" // TagKeyPrefix contains the prefix of a volume parameter that designates it as // a tag to be attached to the resource