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
|
image: ingestion
|
||||||
command: "python -m services.ingestion.worker"
|
command: "python -m services.ingestion.worker"
|
||||||
tier: ingestion
|
tier: ingestion
|
||||||
secrets: [stonks-core-secrets, stonks-market-secrets]
|
secrets: [stonks-core-secrets, stonks-market-secrets, stonks-broker-secrets]
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: 100m, memory: 128Mi }
|
requests: { cpu: 100m, memory: 128Mi }
|
||||||
limits: { cpu: 500m, memory: 256Mi }
|
limits: { cpu: 500m, memory: 256Mi }
|
||||||
|
|||||||
Reference in New Issue
Block a user