Skip to content

chatbot-rag-app: updates README to warn about quoting hazard #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion example-apps/chatbot-rag-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ ELASTICSEARCH_URL=http://elasticsearch.default.svc:9200
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.default.svc:4318
```

*Note*: Do not add quotes to your `.env` file, as they are loaded raw in
Kubernetes.
Do this: `OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer xyz`
Not this: `OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer xyz"`

Then, import your `.env` file as a configmap like this:
```bash
kubectl create configmap chatbot-rag-app-env --from-env-file=.env
Expand Down Expand Up @@ -249,4 +254,4 @@ docker compose up --build --force-recreate
[docker-compose]: ../../docker/docker-compose-elastic.yml
[edot-python]: https://github.com/elastic/elastic-otel-python
[k8s-manifest-elastic]: ../../k8s/k8s-manifest-elastic.yml
[uv]: https://docs.astral.sh/uv/getting-started/installation/
[uv]: https://docs.astral.sh/uv/getting-started/installation/