File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
example-apps/chatbot-rag-app Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ ELASTICSEARCH_URL=http://elasticsearch.default.svc:9200
89
89
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.default.svc:4318
90
90
```
91
91
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
+
92
97
Then, import your ` .env ` file as a configmap like this:
93
98
``` bash
94
99
kubectl create configmap chatbot-rag-app-env --from-env-file=.env
@@ -249,4 +254,4 @@ docker compose up --build --force-recreate
249
254
[ docker-compose ] : ../../docker/docker-compose-elastic.yml
250
255
[ edot-python ] : https://github.com/elastic/elastic-otel-python
251
256
[ 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/
You can’t perform that action at this time.
0 commit comments