🗳️ Store¶
Store
is very useful feature when you need to share the same values between different values fields.
Project Structure
docs/examples/store-greeting-hello
├── README.md
├── a.yml
├── b.yml
└── helmwave.yml
0 directories, 4 files
helmwave.yml
project: "Example: store"
version: "0.41.1"
releases:
- name: a
chart: my/a
store:
msg: hello
values:
- a.yml
- name: b
chart: 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 running helmwave build
you will get rendered values inside .helmwave/values
:
a.yml
image:
repository: nginx
greeting: hello
b.yml
image:
tag: v1.0.0
message: hello world