From 0988ffcf441d867b02789a883b3376227584d215 Mon Sep 17 00:00:00 2001 From: nmaryam <30682293+nmaryam@users.noreply.github.com> Date: Mon, 22 Sep 2025 13:54:33 +0500 Subject: [PATCH] doc(quickstart): added changes to fix the readme quickstart to generate helm charts through makefile. Signed-off-by: nmaryam <30682293+nmaryam@users.noreply.github.com> --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e8ff6b..370815d 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ For how agents respond with either a Message or a Task in A2A, see “Life of a ```bash git clone https://github.com/kagent-dev/khook.git cd khook + # Generate Chart.yaml files from templates + make helm-version # Install CRDs first helm install khook-crds ./helm/khook-crds \ --namespace kagent \ @@ -84,15 +86,24 @@ For how agents respond with either a Message or a Task in A2A, see “Life of a ```bash TMP_DIR="$(mktemp -d)" && \ git clone --depth 1 https://github.com/kagent-dev/khook.git "$TMP_DIR/khook" && \ - helm install khook-crds "$TMP_DIR/khook/helm/khook-crds" \ + cd "$TMP_DIR/khook" && \ + make helm-version && \ + helm install khook-crds ./helm/khook-crds \ --namespace kagent \ --create-namespace && \ - helm install khook "$TMP_DIR/khook/helm/khook" \ + helm install khook ./helm/khook \ --namespace kagent \ --create-namespace && \ + cd - && \ rm -rf "$TMP_DIR" ``` + **Alternative using Makefile** (simplest approach): + ```bash + git clone https://github.com/kagent-dev/khook.git + cd khook + make helm-deploy + ``` 2. **Create Your First Hook**: ```yaml