Closed hobbsh closed 3 years ago
The problem ended up being this issue: https://github.com/fluxcd/image-automation-controller/pull/157 as I was creating the image policies/repos in the service's namespace. Hopefully this becomes a thing soon and thank you again for your great work!
Hi,
First of all, thank you for your amazing work on this! I have based our flux2+kustomize repo on this and am wondering how I would integrate ImageUpdateAutomation to this? I have been unsuccessful getting it to work, which I'm starting to think may be related to this: https://github.com/fluxcd/flux2/discussions/1207. It's also likely an implementation error so let me explain my setup:
ImageUpdateAutomation
ininfrastructure
The spec is very standard, with the path omitted (it's patched in
infrastructure/<env>/image-update-automation-patch.yaml
. The resource within the cluster includes the pathThe anticipated target is a HelmRelease in
services/company/portal/release.yaml
. I have tried adding the image policy marker in the deployment of the helm chart itself, in the HelmRelease, and in the Kustomizationimages: []
field, but nothing is working. I see that the image policies in the cluster are up to date with the latest matching tags, so it just seems like theimage-automation-controller
is not doing its job. This makes me think the policy markers are not being seen or making it into the cluster. There are no logs coming out of theimage-automation-controller
that indicate its erroring or doing any work at all.