source-controller
source-controller copied to clipboard
Feature request: extend git tag matching with regexp
Currently the source controller only allows fixed tags (tag
attribute) and semver tags (semver
attribute). However neither of these are very flexible and cannot be set up to monitor e.g. dev-20210415
or other more tag patterns.
My suggestion is to implement a regex
attribute that can be used to match git tags by regular expression.
What if we have more than two tags? Then which tag we should take?
Regex without ordering doesn't seem useful to me, see how we deal with this for image policies: https://fluxcd.io/docs/components/image/imagepolicies/#examples
any update on this? the image policies mechanism would be perfect for my use case
Regex without ordering doesn't seem useful to me, see how we deal with this for image policies: https://fluxcd.io/docs/components/image/imagepolicies/#examples