Skip to content

πŸ—³οΈ 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.38.0"

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