Skip to content

Commit 604b39a

Browse files
authored
doc(quickstart): added changes to fix the readme quickstart to generate helm charts through makefile. (#10)
Signed-off-by: nmaryam <[email protected]>
1 parent dadab0e commit 604b39a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ For how agents respond with either a Message or a Task in A2A, see “Life of a
7070
```bash
7171
git clone https://github.com/kagent-dev/khook.git
7272
cd khook
73+
# Generate Chart.yaml files from templates
74+
make helm-version
7375
# Install CRDs first
7476
helm install khook-crds ./helm/khook-crds \
7577
--namespace kagent \
@@ -84,15 +86,24 @@ For how agents respond with either a Message or a Task in A2A, see “Life of a
8486
```bash
8587
TMP_DIR="$(mktemp -d)" && \
8688
git clone --depth 1 https://github.com/kagent-dev/khook.git "$TMP_DIR/khook" && \
87-
helm install khook-crds "$TMP_DIR/khook/helm/khook-crds" \
89+
cd "$TMP_DIR/khook" && \
90+
make helm-version && \
91+
helm install khook-crds ./helm/khook-crds \
8892
--namespace kagent \
8993
--create-namespace && \
90-
helm install khook "$TMP_DIR/khook/helm/khook" \
94+
helm install khook ./helm/khook \
9195
--namespace kagent \
9296
--create-namespace && \
97+
cd - && \
9398
rm -rf "$TMP_DIR"
9499
```
95100

101+
**Alternative using Makefile** (simplest approach):
102+
```bash
103+
git clone https://github.com/kagent-dev/khook.git
104+
cd khook
105+
make helm-deploy
106+
```
96107

97108
2. **Create Your First Hook**:
98109
```yaml

0 commit comments

Comments
 (0)