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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user