Open jbouchery opened 10 months ago
You want additionalValuesFiles:
flag :)
helmCharts:
- name: chartName
repo: https://charts.<domain>.com/chart
version: 4.5.6
releaseName: <releaseName>
namespace: <namespace>
valuesFile: <../../base-values.yaml>
additionalValuesFiles:
- <environment.yaml>
Here is my use case, I would like to add a Secret manifest to a Helm Chart and i have multiple Helm Values files.
So far, i have tried something like this :
helmfile.yaml
kubernetes/kustomize/kustomization.yaml
I also have a secret in
kubernetes/kustomize/secret.yaml
and some values in./kubernetes/values/values.yaml.gotmpl
and./kubernetes/values/{{ .Environment.Name }}.yaml
My
helmfile template
command seems to correctly add the secret but not my values.I have something if i add
valuesFile
to thehelmCharts
in mykusomization.yaml
but i would like to avoid that because i can only have one values file.Am i missing something ?
Thanks for your help