๐ณ๏ธ Store
It allows pass you custom values to render release.
helmwave.yml.tpl
:
Please note that my-custom-values.yml
file is common for both helm releases
project: my-project
version: 0.9.5
releases:
- name: backend
chart: my/backend
options:
install: true
namespace: my-ns
store:
secret:
type: vault
path: secret/my/backend
values:
- my-custom-values.yml
- name: frontend
chart: my/frontend
options:
install: true
namespace: my-ns
store:
secret:
type: vault
path: secret/my/frontend
values:
- my-custom-values.yml
my-custom-values.yml
:
secretForApp:
kind: {{ .Release.Store.secret.type }}
path: {{ .Release.Store.secret.path | quote }}
Let's generate plan
helmwave plan
Helmwave created plan!
.helmwave/
โโโ my-custom-values.yml.backend@my-ns.plan
โโโ my-custom-values.yml.frontend@my-ns.plan
my-custom-values.yml.frontend@my-ns.plan
secretForApp:
kind: vault
path: "secret/my/frontend"
my-custom-values.yml.backend@my-ns.plan
secretForApp:
kind: vault
path: "secret/my/backend"