Skip to content

How to use Store

[source]

Project Structure

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

helmwave.yml

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

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

a.yml

image:
  repository: nginx

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

b.yml

image:
  tag: v1.0.0

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

After run helmwave build you get

a.yml

image:
  repository: nginx

greeting: hello

b.yml

image:
  tag: v1.0.0

message: hello world