Skip to content

fluxctl feature Parity in Flux v2 #1293

Answered by kingdonb
funkymcb asked this question in General
Discussion options

You must be logged in to vote

The API that Flux v2 provides for releasing workloads is the ImagePolicy CRD. If you want to release a specific tag, then you can set a tag filter with a regex that matches one specific tag only, or if you're using semver image tags, you can set a tag filter with a semver range equal to that one version only.

Releasing a specific version is a pretty common use case that could maybe still be streamlined a bit in Flux v2. The most streamlined thing at the moment is to write your change (to the image policy, for example) into git; since it is GitOps, it has to be written into git somehow. It may seem strange to suggest writing a change to git (ImagePolicy with an exact range), so that Flux c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by funkymcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants