Skip to content

Instantly share code, notes, and snippets.

@smilelikeshit
Last active September 22, 2022 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smilelikeshit/82112a86f15be051a53c5912f1ebd5f6 to your computer and use it in GitHub Desktop.
Save smilelikeshit/82112a86f15be051a53c5912f1ebd5f6 to your computer and use it in GitHub Desktop.
create own helm chart
### Create Helm Chart ###
user@users: helm create base-chart
### Check List Directory ###
user@users: tree base-chart
base-chart
├── Chart.yaml
├── charts
├── templates
│ ├── NOTES.txt
│ ├── _helpers.tpl
│ ├── deployment.yaml
│ ├── hpa.yaml
│ ├── ingress.yaml
│ ├── service.yaml
│ ├── serviceaccount.yaml
│ └── tests
│ └── test-connection.yaml
└── values.yaml
### bundle helm
user@users: helm package base-chart/
Successfully packaged chart and saved it to: /Users/user/xxx/tmp/helm-test/base-chart-0.1.0.tgz
### push to private registry ###
### follow this tutorial ###
## https://docs.gitlab.com/ee/user/packages/helm_repository/ ##
user@users: helm cm-push base-chart-0.1.0.tgz helm-test
Pushing base-chart-0.1.0.tgz to helm-test...
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment