https://github.com/neilkuan/vm-example-chart
Victoria Metrics Monitor example.
https://github.com/neilkuan/vm-example-chart
Last synced: 2 months ago
JSON representation
Victoria Metrics Monitor example.
- Host: GitHub
- URL: https://github.com/neilkuan/vm-example-chart
- Owner: neilkuan
- Created: 2024-04-14T03:25:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-10T06:32:37.000Z (9 months ago)
- Last Synced: 2025-03-29T02:38:28.522Z (2 months ago)
- Language: JavaScript
- Size: 1.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vm-example-chart
[](https://github.com/neilkuan/vm-example-chart/actions/workflows/release.yml)
[](https://github.com/neilkuan/vm-example-chart/actions/workflows/pages/pages-build-deployment)
## Use this chart
```bash
helm repo add vm-example-chart https://neilkuan.github.io/vm-example-chart/
```## Normal release
- Clone this project
- `git clone https://github.com/neilkuan/vm-example-chart.git`
- Checkout new branch from main branch
- `git checkout -b feat-awesome-branch`
- make some magic 🪄
- 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
- Review by DevOps Team
- After merged , git tag version `v?.?.?` will trigger [workflow](https://github.com/neilkuan/vm-example-chart/actions/workflows/release.yml) release to `gh-pages` branch
- `git tag v?.?.? && git push origin v?.?.?`## Local build chart
```bash
git checkout main
helm dependency build --skip-refresh## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
```
## Local package chart
```bash
## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨helm package .
```## Local release chart
```bash
git switch gh-pagesgit pull origin gh-pages
rm -rf charts/
### Use none url
helm repo index --url "" .git add .
## 🚨 🚨 🚨 only need commit `index.yaml` and `vm-example-chart-x.x.x.tgz` 🚨 🚨 🚨
git statusgit commit -a -m "release version"
git push origin gh-pages
```