kubernetes-sigs / aws-ebs-csi-driver

CSI driver for Amazon EBS https://aws.amazon.com/ebs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to see tags specified in storage class manifest on dynamically provisioned volumes

bettaps opened this issue · comments

/kind bug

What happened?
Upgraded helm version to 1.6.0, created storage class and specified tags under parameters in the following manner:
parameters:
tagSpecification_1: "key1=value1"
tagSpecification_2: "key2=hello world"
tagSpecification_3: "key3="

What you expected to happen?
Expected that the newly created persistent volumes will have the tags specified in the storage class definition.
How to reproduce it (as minimally and precisely as possible)?
Create storage class with provisioner: ebs.csi.aws.com and specify tageSpecification under parameters section of storage class in the manner below:
parameters:
tagSpecification_1: "key1=value1"
tagSpecification_2: "key2=hello world"
tagSpecification_3: "key3="
Create a pvc belonging to the above storage class and create a pod that mounts this PVC.
The newly created volume should have the tags specified but they do not. They only have the tags inherited from AWS EC2 launch template.
Anything else we need to know?:

Environment

  • Kubernetes version (use kubectl version): 1.23
  • Driver version: 1.6.0

This was a manifest syntax error, closing.