Search…
Version Controlled Helm Charts
Using a Helm chart from your version control repository requires a simple definition in the Release application configuration
1
charts:
2
- name: acme-frontend
3
directory: helm/backend
4
values: values.yaml
Copied!
For applications using micro services or applications that spans multiple repositories Release allows you to access Helm charts for those remote repositories.
1
charts:
2
- name: acme-frontend
3
directory: helm/frontend
4
values: values.yaml
5
- name: acme-worker
6
repo_url: https://github.com/acme-co/backend.git
7
directory: helm/worker
8
values: values.yaml
9
- name: acme-api
10
repo_url: https://github.com/acme-co/backend.git
11
repo_branch: fix-broken-api
12
directory: helm/api
13
values: values.yaml
Copied!
Example of how to define Helm charts that will be pulled in from a remote version control repository.
By default, at deploy time, Release will look for a branch in the remote repository that matches the branch currently being deployed. If you want to pin a chart from a remote repository to a specific branch you can use remote_branch to define which branch to use for the Helm chart in the remote repository.
Once you've configured the charts you are now able to use them in a workflow. Workflows allow you to run the Helm charts in parallel and orchestrate the deployment of all of your other services.
1
workflows:
2
- name: setup
3
parallelize:
4
- step: database
5
tasks:
6
- services.postgres
7
- step: backend
8
tasks:
9
- charts.acme-worker
10
- charts.acme-api
11
- step: frontend
12
tasks:
13
- charts.acme-frontend
14
- name: patch
15
parallelize:
16
- step: backend
17
tasks:
18
- charts.acme-worker
19
- charts.acme-api
20
- step: frontend
21
tasks:
22
- charts.acme-frontend
Copied!
Example workflow that deploys postgres, worker, api and frontend.
For more details on how to expose your open source service to the Internet see Helm Ingress and Networking. For more information configuring Helm charts, values files or passing environment variables to your Helm chart see Helm Configuration.
Copy link