From dc06f7ce76318521cdc0744b4728d8714896e19e Mon Sep 17 00:00:00 2001 From: Lukasz Zimnoch Date: Tue, 9 Apr 2024 12:46:31 +0200 Subject: [PATCH] Change large deposit/redemption threshold for `tbtc-v2-monitoring` New values are - 100 BTC for mainnet deposits and redemptions - 10 BTC for testnet deposits and redemptions --- .../kube/keep-prd/tbtc-v2-monitoring/kustomization.yaml | 3 ++- .../kube/keep-test/tbtc-v2-monitoring/kustomization.yaml | 3 ++- .../tbtc-v2-monitoring/tbtc-v2-monitoring-cronjob.yaml | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/infrastructure/kube/keep-prd/tbtc-v2-monitoring/kustomization.yaml b/infrastructure/kube/keep-prd/tbtc-v2-monitoring/kustomization.yaml index b47c8a2833..70791eecd2 100644 --- a/infrastructure/kube/keep-prd/tbtc-v2-monitoring/kustomization.yaml +++ b/infrastructure/kube/keep-prd/tbtc-v2-monitoring/kustomization.yaml @@ -10,7 +10,8 @@ configMapGenerator: - name: tbtc-v2-monitoring-config literals: - environment=mainnet - - large-deposit-threshold-sat=1000000000 # 10 BTC + - large-deposit-threshold-sat=10000000000 # 100 BTC + - large-redemption-threshold-sat=10000000000 # 100 BTC secretGenerator: - name: tbtc-v2-monitoring-config diff --git a/infrastructure/kube/keep-test/tbtc-v2-monitoring/kustomization.yaml b/infrastructure/kube/keep-test/tbtc-v2-monitoring/kustomization.yaml index 8c941ce6a9..67b1bd0cf9 100644 --- a/infrastructure/kube/keep-test/tbtc-v2-monitoring/kustomization.yaml +++ b/infrastructure/kube/keep-test/tbtc-v2-monitoring/kustomization.yaml @@ -10,7 +10,8 @@ configMapGenerator: - name: tbtc-v2-monitoring-config literals: - environment=testnet - - large-deposit-threshold-sat=10000000 # 0.1 BTC for testing purposes + - large-deposit-threshold-sat=1000000000 # 10 BTC + - large-redemption-threshold-sat=1000000000 # 10 BTC secretGenerator: - name: tbtc-v2-monitoring-config diff --git a/infrastructure/kube/templates/tbtc-v2-monitoring/tbtc-v2-monitoring-cronjob.yaml b/infrastructure/kube/templates/tbtc-v2-monitoring/tbtc-v2-monitoring-cronjob.yaml index 6ce6b57957..ab508419f6 100644 --- a/infrastructure/kube/templates/tbtc-v2-monitoring/tbtc-v2-monitoring-cronjob.yaml +++ b/infrastructure/kube/templates/tbtc-v2-monitoring/tbtc-v2-monitoring-cronjob.yaml @@ -43,6 +43,11 @@ spec: configMapKeyRef: name: tbtc-v2-monitoring-config key: large-deposit-threshold-sat + - name: LARGE_REDEMPTION_THRESHOLD_SAT + valueFrom: + configMapKeyRef: + name: tbtc-v2-monitoring-config + key: large-redemption-threshold-sat - name: DATA_DIR_PATH value: /mnt/tbtc-v2-monitoring/data - name: SENTRY_DSN