What are the ways to provide Helm values in an Application?
BeginnerConceptHelm, Kustomize & Multiple Sources
Answer
helm:
releaseName: web
valueFiles: [values.yaml, values-prod.yaml]
ignoreMissingValueFiles: true
values: |
replicaCount: 3
valuesObject:
image: {tag: "1.4.2"}
parameters:
- name: ingress.enabled
value: "true"
Precedence from low to high: chart defaults, valueFiles in order, values/valuesObject, then parameters. Prefer value files in Git; inline values are harder to review.
More on Helm, Kustomize & Multiple Sources
How does Argo CD deploy a Helm chart?BeginnerWhat are the consequences of Argo CD using `helm template` rather than `helm install`?IntermediateHow do you deploy a chart from an OCI registry?IntermediateHow does Argo CD deploy Kustomize, and what overrides can the Application set?BeginnerWhat are multiple sources, and what is the `$values` reference?IntermediateWhat are the caveats of multiple sources?Advanced