Files
Will Anderson e18d953ff9 Wire marketplace Postgres datasource for neuron-mcp
Add MARKETPLACE_DB_URL/USER to ConfigMap and MARKETPLACE_DB_PASSWORD
ExternalSecret (sourced from secret/legion-db in Vault). Remove the
SQLite subPath volume mount and fix-data-ownership initContainer from
the blue deployment — marketplace storage is now in Postgres.
2026-04-26 02:33:26 -05:00

21 lines
825 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: neuron-prod-config
namespace: neuron-prod
data:
SPRING_PROFILES_ACTIVE: "prod"
NEURON_DATA_DIR: "/data"
NEURON_DB_PATH: "/data/neuron.db"
NEURON_STORAGE_PATH: "/data"
MARKETPLACE_DB_URL: "jdbc:postgresql://postgres-postgresql.platform.svc.cluster.local:5432/neuron_marketplace"
MARKETPLACE_DB_USER: "postgres"
SERVER_TOMCAT_ACCESSLOG_ENABLED: "true"
# Prod: minimal surface — never expose internals
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info"
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "never"
# Disable OTLP metrics push — Alloy has no metrics pipeline configured.
# Logs (Loki) and traces (Tempo) work fine via otelcol.receiver.otlp.
# Using Prometheus scrape for metrics instead.
MANAGEMENT_OTLP_METRICS_EXPORT_ENABLED: "false"