Skip to content

How to use Store

Project Structure

.
├── README.md
├── a.yml
├── b.yml
└── helmwave.yml

cat helmwave.yml

releases:
- name: a
  chart: my/a
  store:
    msg: hello
  values:
  - a.yml

- name: b
  chart: my/b
  store:
    msg: hello
  values:
    - b.yml

cat a.yml

image:
  repository: nginx

greeting: {{ .Release.Store.msg }}

cat b.yml

image:
  tag: v1.0.0

message: {{ .Release.Store.msg }} world

After running helmwave build you get rendered values inside .helmwave/values:

a.yml

image:
    repository: nginx

greeting: hello

b.yml

image:
tag: v1.0.0

message: hello world