File tree Expand file tree Collapse file tree 5 files changed +11
-3
lines changed
charts/bitcoincore/charts/cln Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 18
18
announce-addr=dns:{{ include "cln.fullname" . }}:{{ .Values.P2PPort }}
19
19
database-upgrade=true
20
20
bitcoin-retry-timeout=600
21
+ grpc-port={{ .Values.RPCPort }}
21
22
---
22
23
apiVersion : v1
23
24
kind : ConfigMap
Original file line number Diff line number Diff line change 31
31
- name : p2p
32
32
containerPort : {{ .Values.P2PPort }}
33
33
protocol : TCP
34
+ - name : rpc
35
+ containerPort : {{ .Values.RPCPort }}
36
+ protocol : TCP
34
37
command :
35
38
- /bin/sh
36
39
- -c
Original file line number Diff line number Diff line change 12
12
targetPort : p2p
13
13
protocol : TCP
14
14
name : p2p
15
+ - port : {{ .Values.RPCPort }}
16
+ targetPort : rpc
17
+ protocol : TCP
18
+ name : rpc
15
19
selector :
16
20
{{- include "cln.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ service:
32
32
type : ClusterIP
33
33
34
34
P2PPort : 9735
35
- RestPort : 3010
35
+ RPCPort : 10013
36
36
37
37
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
38
38
ingress :
Original file line number Diff line number Diff line change @@ -169,14 +169,14 @@ def _generate_activity_json(activity: Optional[list[dict]]) -> str:
169
169
port = 10009
170
170
node = {"id" : ln_name }
171
171
if "cln" in ln_name :
172
- port = 9735
172
+ port = 10013
173
173
node ["ca_cert" ] = f"/working/{ ln_name } -ca.pem"
174
174
node ["client_cert" ] = f"/working/{ ln_name } -client.pem"
175
175
node ["client_key" ] = f"/working/{ ln_name } -client-key.pem"
176
176
else :
177
177
node ["macaroon" ] = "/working/admin.macaroon"
178
178
node ["cert" ] = "/working/tls.cert"
179
- node ["address" ] = f"{ ln_name } :{ port } "
179
+ node ["address" ] = f"https:// { ln_name } :{ port } "
180
180
nodes .append (node )
181
181
182
182
if activity :
You can’t perform that action at this time.
0 commit comments