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.
This commit is contained in:
Will Anderson
2026-04-26 02:33:26 -05:00
parent af00930a9f
commit e18d953ff9
3 changed files with 7 additions and 15 deletions
@@ -7,8 +7,9 @@ data:
SPRING_PROFILES_ACTIVE: "prod"
NEURON_DATA_DIR: "/data"
NEURON_DB_PATH: "/data/neuron.db"
NEURON_MARKETPLACE_DB_PATH: "/data/neuron-marketplace.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"