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
Describe the bug
when using the image updater in git write back mode the image updater does not update values in the values.yaml file when the image.tag/name have lists.
ultimately it picks up the image change but instead of updating it in place within the list of images it will add to the bottom of the values.yaml which ultimately does not trigger the image to be updated properly.
Describe the bug
when using the image updater in git write back mode the image updater does not update values in the values.yaml file when the image.tag/name have lists.
an example
annotations
ultimately it picks up the image change but instead of updating it in place within the list of images it will add to the bottom of the values.yaml which ultimately does not trigger the image to be updated properly.
The issue seems to be caused by the
setHelmValue
function which incorrectly assumes that the structure of the values is a map. https://github.com/argoproj-labs/argocd-image-updater/blob/master/pkg/argocd/update.go#L575To Reproduce
Steps to reproduce the behavior:
See above.
Expected behavior
A clear and concise description of what you expected to happen.
an update is made to the values.yaml as shown below
Additional context
Add any other context about the problem here.
Version
0.15.2
Note feel free to assign this issue to me. I'm happy to open up a pr to fix this
The text was updated successfully, but these errors were encountered: