-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yaml
90 lines (90 loc) · 2.54 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
image:
pullPolicy: Always
repository: ghcr.io/bnb-chain/greenfield-challenger
tag: 0.0.2
configMaps:
config.json:
data:
config.json: |-
{
"greenfield_config": {
"key_type": "local_private_key",
"aws_region": "",
"aws_secret_name": "",
"aws_bls_secret_name": "",
"private_key": "xxxxx",
"bls_private_key": "xxxxx",
"rpc_addrs": [
"gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443"
],
"chain_id_string": "greenfield_5600-1",
"gas_limit": 100000,
"fee_amount": "500000000000000",
"fee_denom": "BNB",
"no_simulate": true,
"deduplication_interval": 100
},
"metrics_config": {
"port": 8080
},
"log_config": {
"level": "DEBUG",
"filename": "",
"max_file_size_in_mb": 0,
"max_backups_of_log_files": 0,
"max_age_to_retain_log_files_in_days": 0,
"use_console_logger": true,
"use_file_logger": false,
"compress": false
},
"admin_config": {
"listen_addr": "0.0.0.0:8080"
},
"db_config": {
"dialect": "mysql",
"db_path": "tcp(xxxx:3306)/testnet_cedar_greenfield_challenger?charset=utf8&parseTime=True&loc=Local",
"username": "xxxxx",
"password": "xxxxx",
"key_type": "local_private_key",
"aws_region": "",
"aws_secret_name": "",
"max_idle_conns": 20,
"max_open_conns": 40,
"debug_mode": true
},
"alert_config": {
"enable_alert": false,
"enable_heart_beat": false,
"interval": 300,
"identity": "your_service_name",
"telegram_bot_id": "your_bot_id",
"telegram_chat_id": "your_chat_id",
"balance_threshold": "1000000000000000000",
"sequence_gap_threshold": 10
}
}
configMapsMountPath: /opt/app/config/
containers:
env:
- name: CONFIG_TYPE
value: local
- name: AWS_REGION
value: ""
- name: AWS_SECRET_KEY
value: ""
- name: CONFIG_FILE_PATH
value: /opt/app/config/config.json
logsMountPath: /challenger/logs/
resources:
limits:
cpu: "2"
memory: 4000Mi
requests:
cpu: 200m
memory: 256Mi
service:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
type: ClusterIP