Add NEURON_API_KEY to neuron-dev secrets and fix OTLP endpoint

- ExternalSecret: pull neuron_api_key from Vault into NEURON_API_KEY
- ConfigMap: set OTEL_EXPORTER_OTLP_ENDPOINT to alloy-otlp in-cluster service
  instead of localhost (fixes 196 restart OTel connection errors)
This commit is contained in:
Will Anderson
2026-04-28 15:17:16 -05:00
parent c3a90ac484
commit 4943ccfc74
2 changed files with 6 additions and 0 deletions
@@ -13,3 +13,5 @@ data:
# Dev: full exposure for debugging
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info,metrics,env,beans,loggers,mappings"
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "always"
# OTLP: point to Alloy in-cluster instead of localhost
OTEL_EXPORTER_OTLP_ENDPOINT: "http://alloy-otlp.monitoring.svc.cluster.local:4318"
@@ -20,3 +20,7 @@ spec:
remoteRef:
key: secret/data/legion-db
property: postgres_password
- secretKey: NEURON_API_KEY
remoteRef:
key: secret/data/neuron-technologies/dev
property: neuron_api_key