To add a new chart:
-
Add the remote chart repository to your local helm:
helm repo add <repo-name> <repo-location>
- Example:
helm repo add bitnami https://charts.bitnami.com/bitnami
- Example:
-
Package a chart to a tgz file with:
- Helm 2:
helm package <chart-name> --version <chart-version>
- Example:
helm package bitnami/fluentd --version 5.5.1
- Example:
- Helm 3:
helm pull <chart-name> --version <chart-version>
- Example:
helm pull bitnami/fluentd --version 5.5.1
- Example:
- Helm 2:
-
Place the tgz file on the root of this repo.
-
Run
helm repo index --url https://dixahq.github.io/sre-helm-repo/ .
, which will updateindex.yaml
with a new Chart entry. -
Push changes to
main
, which will publish the Chart. -
Remember to run
helm repo update
to fetch updates tosre-helm-repo
.