LSST DM Helm charts repository https://lsst-dm.github.io/charts/
To install a Helm chart from this repository first add the repository:
helm repo add lsstdm https://lsst-dm.github.io/charts/
helm repo update
Use the helm install
command to install the charts:
helm install lsstdm/mychart --name myrelease
See the Helm Documentation for more information.
This command will create a collection of files that defines your chart:
cd charts
helm create mychart
Be sure to do this in the charts
subdirectory, since only charts in that directory will be released and uploaded to the repository.
Helm finds the YAML definitions for your Kubernetes objects in the templates/
directory.
Helm runs each file in this directory through a Go template rendering engine.
The values.yaml
file defines the defaults for each template variable.
If you place a file named NOTES.txt
in the templates/
directory of a chart, it will be printed out after the chart is successfully deployed.
This file is templated using the same template engine as other resources in that directory.
It should produce plain text information.
As you develop your chart, it’s a good idea to run it through the linter to ensure you’re following best practices and that your templates are well-formed:
helm lint mychart
A convenient command to debug your new chart is:
helm install --dry-run --debug mychart
Your chart will be packaged and released automatically once the chart has been merged into the master
branch.
This is done via a GitHub Action configured in .github/workflows/release.yaml
.
The release will then be automatically added to the repository index at https://lsst-dm.github.io/charts/.
Any old charts that were not current when this repository was converted to automated releases are not published or in the index. However, it may be necessary to go back and republish old charts to revert changes. Here is the (fairly manual) process for doing that.
<chart>-<version>.tgz
.<chart>-<version>
.
Push that tag to GitHub..tgz
file (originally generated by helm release
) as an artifact for that tag.
The description of the release is the description line from the Helm chart.cr
binary or use the process documented there to build it yourself.gh-pages
branch of the lsst-dm/charts
repository..cr-release-packages
and put the .tgz
file of the chart you want to restore in that directory.cr index -i index.yaml -o lsst-dm -r charts -c https://lsst-dm.github.io/charts/
.index.yaml
file contains the restored chart metadata and no other changes (in particular, that it’s not missing any other chart metadata that was previously there).index.yaml
file.⎈ Happy Helming! ⎈