Skip to content

yakir3/helm-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions

Static Badge

Usage

Build a Helm package

To create a helm chart

helm create charts/my-chart

Check configuration for all charts

helm lint charts/*

Package all helm chart into chart archive

cd docs && helm package ../charts/*

GitHub Pages example

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

GitHub Pages settings, use branch gh-pages and folder docs.

Index and publish helm package

helm repo index ../docs --url https://yakir.top/helm-charts
git add -A 
git commit -m 'Update helm-charts index.yaml'
git push origin

Once Helm has been set up correctly, add the repo as follows:

helm repo add my-repo https://yakir3.github.io/helm-charts
# or
helm repo add my-repo https://yakir.top/helm-charts/

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.
You can then run helm search repo my-repo to see the charts.

Install the my-app chart:

helm install my-chart my-repo/my-chart

Uninstall the chart:

helm uninstall my-chart

GitLab Package registry

GitLab must be installed to use. Please refer to GitLab's documentation to get started.

Install helm cm-push plugin

# https://github.com/chartmuseum/helm-push
helm plugin install https://github.com/chartmuseum/helm-push

Authenticate to the Helm repository, get username and token from GitLab

Index and publish helm package

helm repo add --username <username> --password <access_token> my-repo https://gitlab.example.com/api/v4/projects/<project_id>/packages/helm/stable
helm cm-push mychart-0.1.0.tgz my-repo

Install the my-app chart:

helm install my-chart my-repo/my-chart

Uninstall the chart:

helm uninstall my-chart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages