Skip to content

Private GitHub repo

.
├── README.md
├── helmwave.yml
└── helmwave.yml.tpl

Suppose the helmwave.yml.tpl looks like

version: 0.24.0

repositories:
  - name: your-private-git-repo-hosted-charts
    url: https://{{ requiredEnv "GITHUB_TOKEN"}}@raw.githubusercontent.com/foo/bar/master/


.options: &options
  namespace: {{ requiredEnv "NS" }}
  create_namespace: true


releases:
  - name: hello
    chart:
      name: foo/bar
    <<: *options

This command will render helmwave.yml.tpl to helmwave.yml

$ export NS=stage
$ export GITHUB_TOKEN=my-secret-token
$ helmwave yml
[🙃 aka INFO]: 📄 YML is ready!
        build plan with next command: helmwave build -f helmwave.yml

Once applied, your helmwave.yml will look like

version: 0.24.0

repositories:
  - name: your-private-git-repo-hosted-charts
    url: https://my-secret-token@raw.githubusercontent.com/foo/bar/master/

.options: &options
  namespace: ips
  create_namespace: true

releases:
  - name: hello
    chart: foo/bar
    <<: *options