Add numeric selector to create image policy cmd

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2021-02-12 15:37:25 +01:00
parent 17e18985e6
commit 9d70e09a57
2 changed files with 16 additions and 5 deletions

View File

@ -23,6 +23,7 @@ flux create image policy <name> [flags]
-h, --help help for policy
--image-ref string the name of an image repository object
--select-alpha string use alphabetical sorting to select image; either "asc" meaning select the last, or "desc" meaning select the first
--select-numeric string use numeric sorting to select image; either "asc" meaning select the last, or "desc" meaning select the first
--select-semver string a semver range to apply to tags; e.g., '1.x'
```