The Argo CD Application doesn’t support both `source.helm` and `source. customize` at the same time; they are mutually exclusive. So you can’t use the in-line patches while sourcing a helm chart. However, using kustomize+helm, you can have a kustomization.yaml in your GitOps repo that references a Helm chart, then point the Applicaiton to that kustomization.yaml and using `source.kustomize.patches`. Happy to discuss further in the Akuity community: akuity.community
You could use something like the ArgoCD lovely plugin, it allows you to generate a helm template application then kustomize apply manifests you may need on top of the helm chart. Works great from my experience.
Yeah there's a plugin to use --enable-helm on kustomize but its just in docs not something you can directly install, probably because it's so simple. I'm not sure since I haven't tried but I would assume it would work in that case
Image updater is a community project right now, with some contributors from the argo cd project. There’s a proposal to merge it into the main argo cd project; github.com/argoproj/argo-cd/pull/11787
It works good for me so far, haven't tried git mode but going to set that up i think so the sync details don't reference an old commit when the image is newer (eg the whole reason it exists, you don't wanna update your manifests everytime you update your app)
Excellent video, do you have an example of patching using Helm instead of kustomise ?
Oo the kustomize patches will simplify something for me possibly, will have to try but didn't realize that was in 2.9
Does the Kustomize patching extend to helm charts as well, such that you can render a helm template and apply a Kustomize patch on top?
The Argo CD Application doesn’t support both `source.helm` and `source. customize` at the same time; they are mutually exclusive. So you can’t use the in-line patches while sourcing a helm chart. However, using kustomize+helm, you can have a kustomization.yaml in your GitOps repo that references a Helm chart, then point the Applicaiton to that kustomization.yaml and using `source.kustomize.patches`.
Happy to discuss further in the Akuity community: akuity.community
You could use something like the ArgoCD lovely plugin, it allows you to generate a helm template application then kustomize apply manifests you may need on top of the helm chart. Works great from my experience.
Yeah there's a plugin to use --enable-helm on kustomize but its just in docs not something you can directly install, probably because it's so simple. I'm not sure since I haven't tried but I would assume it would work in that case
Is image-updater is a official release ?? I see its still in development
Image updater is a community project right now, with some contributors from the argo cd project. There’s a proposal to merge it into the main argo cd project; github.com/argoproj/argo-cd/pull/11787
It works good for me so far, haven't tried git mode but going to set that up i think so the sync details don't reference an old commit when the image is newer (eg the whole reason it exists, you don't wanna update your manifests everytime you update your app)