alternative way to specify image policies #2830
-
https://fluxcd.io/docs/guides/image-update/#configure-image-update-for-custom-resources I'm generating some HelmRelease programmatically via Ruby YAML. I guess there are no other alternative way to obtain the same result (in flux 1 this was different), but I'd like to ask if that's the only way and/or is there a plan to specify policies in an alternative way. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I am not aware of any other way that the image automation controller can identify what policy to pick up apart from the comment in the YAML file. Maybe other folks know some Ruby library that may allow for you to add comments programmatically. (@kingdonb) |
Beta Was this translation helpful? Give feedback.
-
ytt and kustomize are cutting off comments by default. |
Beta Was this translation helpful? Give feedback.
I am not aware of any other way that the image automation controller can identify what policy to pick up apart from the comment in the YAML file.
Maybe other folks know some Ruby library that may allow for you to add comments programmatically. (@kingdonb)