-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] Support for wildcard in volume ls --filter label=key
#12199
Comments
@mskarbek The use case you have specified could be easily matched with I am not also sure if there were any intentions so support multiple labels using Thanks for creating the issue. |
@mskarbek also just to clarify are you expecting |
@flouthoc yes, I had keys in mind. |
Wouldn't piping to grep do what you want? Or do you need this in the API? |
It's a convenience request for API and Ansible use cases. Ofc it can be worked around. |
@jwhonce WDYT? |
@mskarbek Could you please try above patch. Above patch adds supports to perform pattern based matching on keys. While keeps original behavior intact. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Labels, following k8s standard, have prefix and name parts separated with
/
. Podman does not enforce strict k8s rules for volume labels, so I'm able to add another part after either/
or:
depending on which convention I would like to use.I would like to be able to list all volumes marked with label
some.prefix.com/key/*
orsome.prefix.com/key:*
.This functionality doesn't have to implement full RegEx just simple catch all in place of wildcard.
The text was updated successfully, but these errors were encountered: