broker-sync: skip InvestEngine in IMAP CronJob
Sets BROKER_SYNC_IMAP_EXCLUDE_PROVIDERS=invest-engine on broker-sync-imap, so the IMAP path no longer parses InvestEngine emails (handled by the bearer-token API path now). Stops duplicate BUYs in Wealthfolio. The terraform fmt run also realigned two adjacent label assignments. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
2becd0ff6f
commit
84404fd0d6
1 changed files with 10 additions and 2 deletions
|
|
@ -10,8 +10,8 @@ resource "kubernetes_namespace" "broker_sync" {
|
|||
metadata {
|
||||
name = "broker-sync"
|
||||
labels = {
|
||||
"istio-injection" = "disabled"
|
||||
tier = local.tiers.aux
|
||||
"istio-injection" = "disabled"
|
||||
tier = local.tiers.aux
|
||||
"keel.sh/enrolled" = "true"
|
||||
}
|
||||
}
|
||||
|
|
@ -290,6 +290,14 @@ resource "kubernetes_cron_job_v1" "imap" {
|
|||
name = "BROKER_SYNC_DATA_DIR"
|
||||
value = "/data"
|
||||
}
|
||||
# 2026-05-26: skip InvestEngine email parsing. IE has its own
|
||||
# bearer-token API path (`broker-sync invest-engine`) — running
|
||||
# both produces duplicate BUYs in Wealthfolio because the two
|
||||
# generate different external_ids for the same fill.
|
||||
env {
|
||||
name = "BROKER_SYNC_IMAP_EXCLUDE_PROVIDERS"
|
||||
value = "invest-engine"
|
||||
}
|
||||
env {
|
||||
name = "WF_SESSION_PATH"
|
||||
value = "/data/wealthfolio_session.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue