Files
infrastructure/servers/legion/k8s/neuron-technologies/dev/configmap.yaml
T
Will Anderson 5085840a79 Add neuron prod DB backup and tighten actuator surface
- Add hourly restic backup CronJob to neuron-prod namespace
  - Backs up /data/neuron-prod.db to Cloudflare R2 (legion-neuron-backup bucket)
  - Retention: 24 hourly, 7 daily, 4 weekly — <$0.01/month at current DB size
  - ExternalSecret pulls restic password + R2 creds from Vault secret/r2
- Actuator exposure per environment:
  - prod: health,info only / show-details=never (no internals exposed)
  - stage: health,info,metrics,loggers / show-details=always (pre-prod visibility)
  - dev: full (health,info,metrics,env,beans,loggers,mappings) / show-details=always
2026-04-23 21:43:20 -05:00

16 lines
497 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: neuron-dev-config
namespace: neuron-dev
data:
SPRING_PROFILES_ACTIVE: "dev"
NEURON_DATA_DIR: "/data"
NEURON_CHROMA_URL: "http://localhost:8000"
NEURON_DB_PATH: "/data/neuron-dev.db"
NEURON_STORAGE_PATH: "/data"
SERVER_TOMCAT_ACCESSLOG_ENABLED: "true"
# Dev: full exposure for debugging
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info,metrics,env,beans,loggers,mappings"
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "always"