Skip to content

How to use Store

[Source]

Store allows to pass your custom fields from helmwave.yml to values.

Project Structure

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

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
image:
  repository: nginx

greeting: {{ .Release.Store.msg }}
image:
  tag: v1.0.0

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

After run helmwave build you get

image:
  repository: nginx

greeting: hello
image:
tag: v1.0.0

message: hello world