Skip to content

Commit 7ee4a1f

Browse files
committed
fix env
Signed-off-by: Mohit Sheth <[email protected]>
1 parent 1a180d6 commit 7ee4a1f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ BugZooka can optionally enrich its “Implications to understand” output with
146146
- [BYOK Tooling HOWTO](https://github.com/openshift/lightspeed-rag-content/tree/main/byok#byok-tooling-howto)
147147
- Run `make deploy`. The Makefile will apply the RAG overlay and mount a shared volume at `/rag`.
148148
- Note: The BYOK image is intended to be used as an initContainer to prepare the vector store. In this repository, the provided overlay runs it as a sidecar; both patterns are supported for preparing/serving `/rag`.
149+
- For local testing without a cluster, place your RAG content under `/rag`; BugZooka will auto-detect it.
149150

150151
- Behavior and fallback:
151152
- If no RAG artifacts are detected, analysis proceeds unchanged.

kustomize/overlays/rag/sidecar-patch.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,23 @@ spec:
1515
echo "Copying RAG data to shared volume...";
1616
cp -r /rag/vector_db/* /shared-rag/;
1717
echo "Done copying RAG data.";
18-
envFrom:
19-
- secretRef:
20-
name: bugzooka-env
2118
volumeMounts:
2219
- name: rag-db
2320
mountPath: /shared-rag
2421
containers:
2522
- name: bugzooka
23+
envFrom:
24+
- secretRef:
25+
name: bugzooka-env
2626
env:
2727
- name: PRODUCT
2828
value: "openshift"
2929
- name: CI
3030
value: "prow"
31+
- name: ENABLE_INFERENCE
32+
value: "true"
33+
- name: RAG_DB_PATH
34+
value: "/rag"
3135
volumeMounts:
3236
- name: rag-db
3337
mountPath: /rag

0 commit comments

Comments
 (0)