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
8989OTEL_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+
9297Then, import your ` .env ` file as a configmap like this:
9398``` bash
9499kubectl 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/
You can’t perform that action at this time.
0 commit comments