Skip to content

Commit 1db1c11

Browse files
chatbot-rag-app: updates README to warn about quoting hazard (#461)
Co-authored-by: Anuraag (Rag) Agrawal <[email protected]>
1 parent e8f446e commit 1db1c11

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

example-apps/chatbot-rag-app/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ ELASTICSEARCH_URL=http://elasticsearch.default.svc:9200
8989
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.default.svc:4318
9090
```
9191

92+
*Note*: Do not add quotes to your `.env` file, as they are loaded raw in
93+
Kubernetes.
94+
Do this: `OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer xyz`
95+
Not this: `OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer xyz"`
96+
9297
Then, import your `.env` file as a configmap like this:
9398
```bash
9499
kubectl create configmap chatbot-rag-app-env --from-env-file=.env
@@ -249,4 +254,4 @@ docker compose up --build --force-recreate
249254
[docker-compose]: ../../docker/docker-compose-elastic.yml
250255
[edot-python]: https://github.com/elastic/elastic-otel-python
251256
[k8s-manifest-elastic]: ../../k8s/k8s-manifest-elastic.yml
252-
[uv]: https://docs.astral.sh/uv/getting-started/installation/
257+
[uv]: https://docs.astral.sh/uv/getting-started/installation/

0 commit comments

Comments
 (0)