You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support should be expanded to handle GitRepository.spec.ref.name such as refs/heads/main. This is especially critical for flux-operator users as the FluxInstancesync configuration via spec.sync.ref produces a GitRepository with .spec.ref.name rather than .spec.ref.branch. As such, any flux-operator user with imageupdateautomations must explicitly set spec.git.checkout.ref instead of relying on the convenience of automatic discovery/inference.
The text was updated successfully, but these errors were encountered:
Currently,
ImageUpdateAutomation
push configuration only supports discovery/inference of asourceRef.kind: GitRepository
fromGitRepository.spec.ref.branch
. See code here: https://github.com/fluxcd/image-automation-controller/blob/main/internal/source/git.go#L158-L161Support should be expanded to handle
GitRepository.spec.ref.name
such asrefs/heads/main
. This is especially critical for flux-operator users as theFluxInstance
sync configuration viaspec.sync.ref
produces aGitRepository
with.spec.ref.name
rather than.spec.ref.branch
. As such, any flux-operator user withimageupdateautomations
must explicitly setspec.git.checkout.ref
instead of relying on the convenience of automatic discovery/inference.The text was updated successfully, but these errors were encountered: