Open Brightside56 opened 1 month ago
I am neutral on this... I can 💯 see the convenience of this, but I also have a concern about whether making the behavior deviate much from the actual kustomize edit set image
command won't prompt some level of confusion.
Interested in @hiddeco's opinion on this one.
Checklist
kargo version
, if applicable.Proposed Feature
kustomize-set-image
promotion step requires settingimages[].image
field. Proposed feature is to make field non-requiredMotivation
Requirement to additionally enumerate images for setting in manifests makes templating of promotionTemplate non-trivial in some cases (where I would like to set all images from freight allowed by
requestedFreight
).When unneeded - I wouldn't like my Kargo pipeline to be much aware of how images should be set Instead I would like to avoid complex templating or offload this logic into repository with manifests where possible (and have something like
render: {}
Suggested Implementation
images[].image
field isn't set - kustomize could set all images originating from freight