fix: add broker secrets to ingestion worker deployment

The ingestion worker creates an AlpacaBrokerAdapter but the pod
didn't have BROKER_API_KEY/BROKER_API_SECRET env vars, causing
401 Unauthorized on every broker source fetch. Added
stonks-broker-secrets to the ingestion service's secrets list.
This commit is contained in:
Celes Renata
2026-04-16 01:25:54 +00:00
parent 36c92196d2
commit 00ea917fc0
+1 -1
View File
@@ -46,7 +46,7 @@ services:
image: ingestion
command: "python -m services.ingestion.worker"
tier: ingestion
secrets: [stonks-core-secrets, stonks-market-secrets]
secrets: [stonks-core-secrets, stonks-market-secrets, stonks-broker-secrets]
resources:
requests: { cpu: 100m, memory: 128Mi }
limits: { cpu: 500m, memory: 256Mi }