Skip to content

Commit

Permalink
Update keep-test Kubernetes deployment for BTC difficulty maintainer (#…
Browse files Browse the repository at this point in the history
…3557)

This PR updates the Kubernetes deployment for BTC difficulty maintainer
for keep-test, so that it works with Goerli contacts
(https://docs.threshold.network/extras/contract-addresses/goerli-testnet#tbtc-application-contracts).
  • Loading branch information
pdyraga authored May 12, 2023
2 parents bf3432c + 698bc4f commit 0a6a7ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ configMapGenerator:
- name: btc-difficulty-maintainer-accounts-info
files:
- config/btc-difficulty-maintainer-keyfile
- name: btc-difficulty-maintainer-config
files:
- config/keep-client-config.toml
- name: electrum-api-mainnet
literals:
- electrumx-url-tcp=electrum.blockstream.info:50001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ spec:
items:
- key: btc-difficulty-maintainer-keyfile
path: btc-difficulty-maintainer-keyfile
- name: btc-difficulty-maintainer-config
configMap:
name: btc-difficulty-maintainer-config
items:
- key: keep-client-config.toml
path: keep-client-config.toml
containers:
- name: btc-difficulty-maintainer
image: gcr.io/keep-test-f3e0/keep-client:latest
Expand Down Expand Up @@ -63,15 +57,12 @@ spec:
volumeMounts:
- name: eth-account-keyfile
mountPath: /mnt/btc-difficulty-maintainer/keyfile
- name: btc-difficulty-maintainer-config
mountPath: /mnt/btc-difficulty-maintainer/config
command:
- keep-client
- maintainer
args:
- --bitcoinDifficulty
# run as developer to be able to set LightRelay address
- --developer
- --goerli
- --ethereum.url
- $(ETH_WS_URL)
- --ethereum.keyFile
Expand All @@ -80,5 +71,3 @@ spec:
- $(ELECTRUM_API_URL)
- --bitcoin.electrum.protocol
- "TCP"
- --config
- /mnt/btc-difficulty-maintainer/config/keep-client-config.toml

0 comments on commit 0a6a7ae

Please sign in to comment.