Show a realistic `helmfile.yaml`.
IntermediateConceptSchema, Helmfile, Argo CD & Secrets
Answer
repositories:
- name: ingress-nginx
url: https://kubernetes.github.io/ingress-nginx
- name: shack
url: 123456789012.dkr.ecr.ap-south-1.amazonaws.com/charts
oci: true
environments:
dev:
values: [env/dev.yaml]
prod:
values: [env/prod.yaml]
---
releases:
- name: ingress-nginx
namespace: ingress-nginx
chart: ingress-nginx/ingress-nginx
version: 4.11.3
- name: shop
namespace: shop
chart: shack/shop
version: 1.4.0
needs: [ingress-nginx/ingress-nginx]
values:
- values/shop-common.yaml
- values/shop-{{ .Environment.Name }}.yaml
secrets:
- secrets/shop-{{ .Environment.Name }}.yaml
helmfile -e prod diff
helmfile -e prod apply
In Helmfile 1.x, files that use Go templating should carry the .gotmpl extension (helmfile.yaml.gotmpl).
More on Schema, Helmfile, Argo CD & Secrets
When is `values.schema.json` validated, and can it be skipped?IntermediateHow do you express "password is required only when the internal database is enabled" in a schema?AdvancedWhat is Helmfile?BeginnerWhat is the difference between `helmfile sync` and `helmfile apply`?IntermediateHow does Argo CD deploy a Helm chart?AdvancedWhat are the consequences of Argo CD using `helm template` instead of `helm install`?Advanced