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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user