Skip to content

Commit 852f870

Browse files
committed
Keep Maintainer for keep-test
This is a configuration for a maintaienr bot running in keep-test cluster. The maintainer is connected to Bitcoin testnet and runs two modules: - spv - walletCoordination This instance is not running the bitcoin difficulty module as the current keep-test contracts setup requires the maintainer for difficulty to be connected to mainnet Bitcoin.
1 parent f3a8ad8 commit 852f870

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
resources:
2+
- ../../templates/keep-maintainer
3+
4+
namespace: default
5+
6+
commonLabels:
7+
app: keep-maintainer
8+
type: all
9+
network: goerli
10+
11+
images:
12+
- name: keep-maintainer
13+
newName: gcr.io/keep-test-f3e0/keep-client
14+
newTag: latest
15+
16+
configMapGenerator:
17+
- name: keep-maintainer-config
18+
behavior: merge
19+
literals:
20+
- network=testnet
21+
- electrum-api-url=ws://electrumx.bitcoin-testnet:8080
22+
files:
23+
- .secret/keep-maintainer-keyfile
24+
25+
secretGenerator:
26+
- name: keep-maintainer-eth-account-password
27+
files:
28+
- .secret/keep-maintainer-password
29+
30+
patches:
31+
# Testnet's maintainer shouldn't run `--bitcoinDifficulty` module, as the testnet
32+
# uses modified version of LightRelay contract (GoerliLightRelay) that doesn't
33+
# require the bitcoin difficulty to be submitted. This patch defines manually
34+
# which modules should be started.
35+
- target:
36+
kind: StatefulSet
37+
name: keep-maintainer
38+
patch: |-
39+
- op: add
40+
path: /spec/template/spec/containers/0/args/-
41+
value: --spv
42+
- op: add
43+
path: /spec/template/spec/containers/0/args/-
44+
value: --walletCoordination
45+
- op: replace
46+
path: /spec/template/spec/containers/0/env/0/valueFrom/secretKeyRef/name
47+
value: eth-network-goerli
48+
49+
generatorOptions:
50+
disableNameSuffixHash: true
51+
annotations:
52+
note: generated

0 commit comments

Comments
 (0)