kubernetes-sigs/aws-ebs-csi-driver

Can new extraVolumeTags be added to existing volumes ?

Closed this issue · 2 comments

Hi,

I want to add new tags to new and existing volumes using extraVolumeTags but it only works for new volumes as far as i can tell.

Is that the intended behaviour or can i trigger some update on the tags from the controller ?

Thanks

extraVolumeTags only applies to new volumes, that is correct.

If you want to add/modify/delete tags of an existing volume, you can do so via a VolumeAttributesClass as documented here: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/tagging.md#adding-modifying-and-deleting-tags-of-existing-volumes

Thanks for the links, good to have info , i will test it out once we move to EKS 1.31