Closed rasmusviben closed 2 months ago
The error occurs with an ImageUpdateAutomation called image-automation
in the flux-system
Namespace while the manifest you pasted above is called flux-system
, so I suppose there's another ImageUpdateAutomation in your cluster that has a .spec.update.path
of ./workloads
. Check the existing objects with
flux get image update
It looks like it writes flux-system twice in the path?
This is expected because this path is comprised of the source object's Namespace and and name.
I changed my image-automation.yaml and pushed to branch master, but it didnt get updated automatically apparently - I'm pretty new to Flux, so this might be as expected. :)
The issue was fixed when i applied the updated file manually with kubectl.
I'm setting up Flux on Azure with AKS, but I'm running into an issue with the ImageUpdateAutomation configuration that I can't wrap my head around.
Flux version
Details from flux-system event log on AKS including the ERROR in message: failed to apply policies: walking path for files: lstat /tmp/flux-system-flux-system2486395273/workloads: no such file or directory - It looks like it writes flux-system twice in the path? I would expect it only to be /tmp/flux-system2486395273/workloads. And no matter what I change in the image-automation.yaml, it still wont shorten the path as expected. :/
image-automation.yaml
Flux check
Git repo setup