Update HelmRelease on git tag creation #5121
-
I have a use case where we want our devs to create a tag for their infra changes to deploy to production. For example, they might change some values for their service, which will auto-deploy to pre-production on merge to main. But for prod, we want to the operation of creating a tag to trigger the change. Has anyone achieved this or a similar workflow in Flux? We have only been able to do this with imperative CLI calls to create a HelmRelease manually. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you use an https://fluxcd.io/flux/guides/image-update/ Helm docs for OCI repositories: https://helm.sh/docs/topics/registries/ |
Beta Was this translation helpful? Give feedback.
If you use an
OCIRepository
for your helm charts (https://fluxcd.io/flux/guides/helmreleases/#oci-repository), you can combine it with anImageUpdateAutomation
:https://fluxcd.io/flux/guides/image-update/
Helm docs for OCI repositories: https://helm.sh/docs/topics/registries/