charts

UKCEH Helm Chart Repository

Making Helm charts publicly available e.g., for use in Datalabs

Using charts

As a dependency in another chart

In another charts Charts.yaml add the dependency section

dependencies:
  - name: metadata-catalogue
    version: 1.13.5
    repository: "https://nerc-ceh.github.io/charts"

Then install the dependency using helm

helm dependency update
helm dependency build

Making charts publicly available

Packaging a chart

After a chart has been updated and the version incremented in Chart.yaml

helm package directory/to/chart

creates a .tgz file to be added to repository

Updating the index

The index (index.yaml) needs updating with the new version

helm repo index . --url https://nerc-ceh.github.io/charts

Commit changes to GitHub

git status
git add -A
git commit
git push