File tree Expand file tree Collapse file tree 4 files changed +22
-19
lines changed
resources/charts/bitcoincore Expand file tree Collapse file tree 4 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 10
10
11
11
{{ template "bitcoincore.check_semver" . }}
12
12
{{- .Values.baseConfig | nindent 4 }}
13
+ rpcport={{ index .Values .Values.chain "RPCPort" }}
14
+ zmqpubrawblock=tcp://0.0.0.0:{{ .Values.ZMQBlockPort }}
15
+ zmqpubrawtx=tcp://0.0.0.0:{{ .Values.ZMQTxPort }}
13
16
{{- .Values.config | nindent 4 }}
14
17
{{- range .Values.connect }}
15
18
{{- print "connect=" . | nindent 4}}
Original file line number Diff line number Diff line change @@ -29,21 +29,23 @@ spec:
29
29
imagePullPolicy : {{ .Values.image.pullPolicy }}
30
30
ports :
31
31
- name : rpc
32
- containerPort : {{ .Values.regtest. RPCPort }}
32
+ containerPort : {{ index .Values .Values.chain " RPCPort" }}
33
33
protocol : TCP
34
34
- name : p2p
35
- containerPort : {{ .Values.regtest. P2PPort }}
35
+ containerPort : {{ index .Values .Values.chain " P2PPort" }}
36
36
protocol : TCP
37
37
- name : zmq-tx
38
- containerPort : {{ .Values.regtest. ZMQTxPort }}
38
+ containerPort : {{ .Values.ZMQTxPort }}
39
39
protocol : TCP
40
40
- name : zmq-block
41
- containerPort : {{ .Values.regtest. ZMQBlockPort }}
41
+ containerPort : {{ .Values.ZMQBlockPort }}
42
42
protocol : TCP
43
43
livenessProbe :
44
44
{{- toYaml .Values.livenessProbe | nindent 8 }}
45
45
readinessProbe :
46
46
{{- toYaml .Values.readinessProbe | nindent 8 }}
47
+ tcpSocket :
48
+ port : {{ index .Values .Values.chain "RPCPort" }}
47
49
resources :
48
50
{{- toYaml .Values.resources | nindent 8 }}
49
51
volumeMounts :
65
67
- name : BITCOIN_RPC_HOST
66
68
value : " 127.0.0.1"
67
69
- name : BITCOIN_RPC_PORT
68
- value : " {{ .Values.regtest. RPCPort }}"
70
+ value : " {{ index .Values .Values.chain " RPCPort" }}"
69
71
- name : BITCOIN_RPC_USER
70
72
value : user
71
73
- name : BITCOIN_RPC_PASSWORD
Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ metadata:
8
8
spec :
9
9
type : {{ .Values.service.type }}
10
10
ports :
11
- - port : {{ .Values.regtest. RPCPort }}
11
+ - port : {{ index .Values .Values.chain " RPCPort" }}
12
12
targetPort : rpc
13
13
protocol : TCP
14
14
name : rpc
15
- - port : {{ .Values.regtest. P2PPort }}
15
+ - port : {{ index .Values .Values.chain " P2PPort" }}
16
16
targetPort : p2p
17
17
protocol : TCP
18
18
name : p2p
19
- - port : {{ .Values.regtest. ZMQTxPort }}
19
+ - port : {{ .Values.ZMQTxPort }}
20
20
targetPort : zmq-tx
21
21
protocol : TCP
22
22
name : zmq-tx
23
- - port : {{ .Values.regtest. ZMQBlockPort }}
23
+ - port : {{ .Values.ZMQBlockPort }}
24
24
targetPort : zmq-block
25
25
protocol : TCP
26
26
name : zmq-block
Original file line number Diff line number Diff line change @@ -36,8 +36,13 @@ service:
36
36
regtest :
37
37
RPCPort : 18443
38
38
P2PPort : 18444
39
- ZMQTxPort : 28333
40
- ZMQBlockPort : 28332
39
+
40
+ signet :
41
+ RPCPort : 38332
42
+ P2PPort : 38333
43
+
44
+ ZMQTxPort : 28333
45
+ ZMQBlockPort : 28332
41
46
42
47
ingress :
43
48
enabled : false
@@ -82,8 +87,6 @@ readinessProbe:
82
87
failureThreshold : 1
83
88
periodSeconds : 1
84
89
successThreshold : 1
85
- tcpSocket :
86
- port : 18443
87
90
timeoutSeconds : 1
88
91
89
92
@@ -121,17 +124,12 @@ baseConfig: |
121
124
capturemessages=1
122
125
fallbackfee=0.00001000
123
126
listen=1
124
-
125
- zmqpubrawblock=tcp://0.0.0.0:28332
126
- zmqpubrawtx=tcp://0.0.0.0:28333
127
-
128
127
rpcuser=user
129
128
rpcpassword=password
130
- # use regtest port by default for all networks
131
- rpcport=18443
132
129
rpcallowip=0.0.0.0/0
133
130
rpcbind=0.0.0.0
134
131
rest=1
132
+ # rpcport and zmq endpoints are configured by chain in configmap.yaml
135
133
136
134
137
135
config : " "
You can’t perform that action at this time.
0 commit comments