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 1010
1111 {{ template "bitcoincore.check_semver" . }}
1212 {{- .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 }}
1316 {{- .Values.config | nindent 4 }}
1417 {{- range .Values.connect }}
1518 {{- print "connect=" . | nindent 4}}
Original file line number Diff line number Diff line change @@ -29,21 +29,23 @@ spec:
2929 imagePullPolicy : {{ .Values.image.pullPolicy }}
3030 ports :
3131 - name : rpc
32- containerPort : {{ .Values.regtest. RPCPort }}
32+ containerPort : {{ index .Values .Values.chain " RPCPort" }}
3333 protocol : TCP
3434 - name : p2p
35- containerPort : {{ .Values.regtest. P2PPort }}
35+ containerPort : {{ index .Values .Values.chain " P2PPort" }}
3636 protocol : TCP
3737 - name : zmq-tx
38- containerPort : {{ .Values.regtest. ZMQTxPort }}
38+ containerPort : {{ .Values.ZMQTxPort }}
3939 protocol : TCP
4040 - name : zmq-block
41- containerPort : {{ .Values.regtest. ZMQBlockPort }}
41+ containerPort : {{ .Values.ZMQBlockPort }}
4242 protocol : TCP
4343 livenessProbe :
4444 {{- toYaml .Values.livenessProbe | nindent 8 }}
4545 readinessProbe :
4646 {{- toYaml .Values.readinessProbe | nindent 8 }}
47+ tcpSocket :
48+ port : {{ index .Values .Values.chain "RPCPort" }}
4749 resources :
4850 {{- toYaml .Values.resources | nindent 8 }}
4951 volumeMounts :
6567 - name : BITCOIN_RPC_HOST
6668 value : " 127.0.0.1"
6769 - name : BITCOIN_RPC_PORT
68- value : " {{ .Values.regtest. RPCPort }}"
70+ value : " {{ index .Values .Values.chain " RPCPort" }}"
6971 - name : BITCOIN_RPC_USER
7072 value : user
7173 - name : BITCOIN_RPC_PASSWORD
Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ metadata:
88spec :
99 type : {{ .Values.service.type }}
1010 ports :
11- - port : {{ .Values.regtest. RPCPort }}
11+ - port : {{ index .Values .Values.chain " RPCPort" }}
1212 targetPort : rpc
1313 protocol : TCP
1414 name : rpc
15- - port : {{ .Values.regtest. P2PPort }}
15+ - port : {{ index .Values .Values.chain " P2PPort" }}
1616 targetPort : p2p
1717 protocol : TCP
1818 name : p2p
19- - port : {{ .Values.regtest. ZMQTxPort }}
19+ - port : {{ .Values.ZMQTxPort }}
2020 targetPort : zmq-tx
2121 protocol : TCP
2222 name : zmq-tx
23- - port : {{ .Values.regtest. ZMQBlockPort }}
23+ - port : {{ .Values.ZMQBlockPort }}
2424 targetPort : zmq-block
2525 protocol : TCP
2626 name : zmq-block
Original file line number Diff line number Diff line change @@ -36,8 +36,13 @@ service:
3636regtest :
3737 RPCPort : 18443
3838 P2PPort : 18444
39- ZMQTxPort : 28333
40- ZMQBlockPort : 28332
39+
40+ signet :
41+ RPCPort : 38332
42+ P2PPort : 38333
43+
44+ ZMQTxPort : 28333
45+ ZMQBlockPort : 28332
4146
4247ingress :
4348 enabled : false
@@ -82,8 +87,6 @@ readinessProbe:
8287 failureThreshold : 1
8388 periodSeconds : 1
8489 successThreshold : 1
85- tcpSocket :
86- port : 18443
8790 timeoutSeconds : 1
8891
8992
@@ -121,17 +124,12 @@ baseConfig: |
121124 capturemessages=1
122125 fallbackfee=0.00001000
123126 listen=1
124-
125- zmqpubrawblock=tcp://0.0.0.0:28332
126- zmqpubrawtx=tcp://0.0.0.0:28333
127-
128127 rpcuser=user
129128 rpcpassword=password
130- # use regtest port by default for all networks
131- rpcport=18443
132129 rpcallowip=0.0.0.0/0
133130 rpcbind=0.0.0.0
134131 rest=1
132+ # rpcport and zmq endpoints are configured by chain in configmap.yaml
135133
136134
137135config : " "
You can’t perform that action at this time.
0 commit comments