1.3 KiB
1.3 KiB
helm-charts repo
This repository manages two Helm charts (e.g., code-server-chart, vllm-serve) and automates packaging and publishing on every git push (local pre-push hook only; no CI runner required).
How it works
- Local pre-push hook runs
scripts/helm_publish.shtohelm packageandhelm pushall charts found under this folder (directories containing aChart.yaml).- If any chart fails to package/push, the Git push is aborted.
Configure registry
- Create
.envand fill in:
HELM_OCI_NAMESPACE=gitea.example.com/your-user
HELM_USERNAME=your-username
HELM_PASSWORD=your-token-or-password
The charts are pushed to oci://$HELM_OCI_NAMESPACE (Helm appends the chart name and version). For self-signed or HTTP registries, you can add:
HELM_PUSH_EXTRA_ARGS="--insecure-skip-tls-verify --plain-http"
HELM_LOGIN_EXTRA_ARGS="--insecure --plain-http"
Chart discovery
No configuration needed by default. The script auto-discovers chart directories by looking for Chart.yaml up to depth 2 (excluding nested charts/ vendor dir).
Optionally pin which chart directories to process:
export CHART_DIRS="code-server-chart vllm-serve"
Run manually
./scripts/helm_publish.sh
Use DRY_RUN=1 to only package locally:
DRY_RUN=1 ./scripts/helm_publish.sh