roboll / helmfile

Deploy Kubernetes Helm Charts
MIT License
4.03k stars 567 forks source link

ArgoCD Release Template #2153

Closed adecchi-2inno closed 1 year ago

adecchi-2inno commented 1 year ago

I have setup a release template for Argo Application and then call it at each release, like the following example:

`

So, my doubt here is to try to understand if possible to template a values.yaml.gotmpl used at set section previous to submit it to Argo My intention is to template the values.yaml used by the grafana helm-chart and create the Grafana Argo CD Application. My intention is to use environment variable({{ requiredEnv "ARGOCD_INGRESS_NAME" }}) to then pass it the gotmpl to create the Grafana ingress. If not possible , is possible to use [envsubst](envsubst (https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) ) or another better way to work with it ?

yxxhero commented 1 year ago

see: https://github.com/roboll/helmfile/issues/2148