Last active
September 22, 2022 06:30
-
-
Save smilelikeshit/82112a86f15be051a53c5912f1ebd5f6 to your computer and use it in GitHub Desktop.
create own helm chart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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