vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.71k stars 1.4k forks source link

VolumePolicies filter volumes to snapshot by volume name #8363

Open kaovilai opened 1 week ago

kaovilai commented 1 week ago

Describe the problem/challenge you have

Add one more supported conditions for volume name.

Describe the solution you'd like

Anything else you would like to add:

discussion

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

sseago commented 1 week ago

We already have an issue to do this via label selector: https://github.com/vmware-tanzu/velero/issues/8256

I think volume name makes sense too -- perhaps it makes sense to implement them together?

Label selector is probably the more generally useful of the two, but there's no reason we can't do both.