Open
Description
I was trying to use the image update automation to update a tag in a generic YAML file in git.
I found it doesn't update the image tag in the YAML if the YAML file has a top-level array.
A file like this doesn't work i.e. the image automation never updates the tag:
- serviceName: busybox
containerName: busybox
tag: 0.0.1 # {"$imagepolicy":"flux-system:busybox:tag"}
But this works:
serviceName: busybox
containerName: busybox
tag: 0.0.1 # {"$imagepolicy":"flux-system:busybox:tag"}
And this also works:
tags:
- serviceName: busybox
containerName: busybox
tag: 0.0.1 # {"$imagepolicy":"flux-system:busybox:tag"}
I'm not sure what versions of flux this applies to but I'm using:
$ flux -v
flux version 2.0.1
And the image automation controller tag is:
image: ghcr.io/fluxcd/image-automation-controller:v0.35.0
Metadata
Assignees
Labels
No labels