feat: load service URLs from ConfigMap, not hardcoded

This commit is contained in:
2026-09-06 06:11:26 -07:00
parent c41cef0ca5
commit 6b35b04d20
5 changed files with 211 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: memory-service-config
namespace: poimen
labels:
app: memory-service
version: "1"
data:
# Inter-pod URLs (cluster-internal DNS)
MEMORY_SERVICE_ADDR: "http://memory-service.poimen.svc.cluster.local:8080"
AUTHENTIK_ISSUER: "http://authentik-server.iam.svc.cluster.local/application/o/poimen-memory/"
WEBHOOK_URL: "http://temporal-webhook.temporal.svc.cluster.local:9000/webhook"
OPENSEARCH_URL: "http://opensearch.poimen.svc.cluster.local:9200"
# Service addresses for internal communication
POSTGRES_HOST: "memory-db.poimen.svc.cluster.local"
POSTGRES_PORT: "5432"
POSTGRES_DB: "memory"