Skip to content

Release object

This an example is demonstrating how to use the release object.

Project Structure

docs/examples/built-in-release
├── README.md
├── _.yml
└── helmwave.yml

0 directories, 3 files

Create helmwave.yml

helmwave.yml
project: "Example: built-in object release"
version: "0.41.1"

repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami

releases:
- name: a
  chart: bitnami/nginx
  namespace: test
  values:
  - _.yml

- name: b
  chart: bitnami/nginx
  namespace: test
  values:
    - _.yml

Create _.yml

_.yml
release: {{- toYaml .Release | nindent 2 }}

Run build

helmwave build

Show rendered values

tree .helmwave 
.helmwave
├── manifest
│   ├── a@test.yml
│   └── b@test.yml
├── planfile
└── values
    ├── a@test
       └── 454b1cc1f7b3ffe503edf44c0ad0eea2ac39923c.yml
    └── b@test
        └── 454b1cc1f7b3ffe503edf44c0ad0eea2ac39923c.yml

TODO: fix titles

454b1cc1f7b3ffe503edf44c0ad0eea2ac39923c.yml
release:
  chart:
    name: bitnami/nginx
  name: a
  namespace: test
  values:
    - src: _.yml
      dst: /var/folders/jn/gs32zb3s5939nf71b3836nq40000gr/T/values/a@test/454b1cc1f7b3ffe503edf44c0ad0eea2ac39923c.yml
release:
  chart:
    name: bitnami/nginx
  name: b
  namespace: test
  values:
    - src: _.yml
      dst: /var/folders/jn/gs32zb3s5939nf71b3836nq40000gr/T/values/b@test/454b1cc1f7b3ffe503edf44c0ad0eea2ac39923c.yml