modify readme
This commit is contained in:
10
README.md
10
README.md
@ -4,8 +4,8 @@ This repository manages two Helm charts (e.g., `code-server-chart`, `vllm-serve`
|
|||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
- Local pre-push hook runs `scripts/helm_publish.sh` to `helm package` and `helm push` all charts found under this folder (directories containing a `Chart.yaml`).
|
- Local pre-push hook runs `scripts/helm_publish.sh` and only processes charts that changed relative to the branch upstream (initial push publishes all charts).
|
||||||
- If any chart fails to package/push, the Git push is aborted.
|
- If any processed chart fails to package/push, the Git push is aborted.
|
||||||
|
|
||||||
## Configure registry
|
## Configure registry
|
||||||
|
|
||||||
@ -28,11 +28,7 @@ HELM_LOGIN_EXTRA_ARGS="--insecure --plain-http"
|
|||||||
|
|
||||||
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).
|
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:
|
By default you don't need to set `CHART_DIRS`; the hook processes only the charts that changed.
|
||||||
|
|
||||||
```
|
|
||||||
export CHART_DIRS="code-server-chart vllm-serve"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Run manually
|
## Run manually
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user