add platform.toml ConfigMap and mount in deployment

This commit is contained in:
stackops
2026-04-09 17:20:06 +03:00
parent af6696279c
commit 96065d8419
2 changed files with 21 additions and 1 deletions

12
06-stackops/platform.toml Normal file
View File

@@ -0,0 +1,12 @@
# Platform-level shared infrastructure config.
# Describes existing broker clusters — StackOps injects connection
# details as env vars into services that declare [messaging.*] in stackfile.toml.
#
# To add a new broker: add a section here, apply the ConfigMap,
# and restart stackops-api.
[kafka.main]
brokers = "kafka.shared.svc:9092"
[nats.default]
url = "nats://nats.shared.svc:4222"