Skip to content

Commit 19076ce

Browse files
author
macgyver13
committed
set "lnd" as default k8s container to support kubectl exec commands
1 parent 46900fe commit 19076ce

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

resources/charts/bitcoincore/charts/lnd/templates/pod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ metadata:
1212
collect_logs: "true"
1313
{{- end }}
1414
chain: {{ .Values.global.chain }}
15+
kubectl.kubernetes.io/default-container: "lnd"
1516
spec:
1617
{{- with .Values.imagePullSecrets }}
1718
imagePullSecrets:

test/data/ln/network.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,4 @@ nodes:
6565
push_amt: 25000
6666
- name: tank-0005
6767
addnode:
68-
- tank-0004
69-
plugins:
70-
postDeploy:
71-
simln:
72-
entrypoint: "../../../resources/plugins/simln" # This is the path to the simln plugin folder (relative to the network.yaml file).
73-
activity: >
74-
[{"source": "tank-0002-ln", "destination": "tank-0000-ln", "interval_secs": 1, "amount_msat": 400000},
75-
{"source": "tank-0000-ln", "destination": "tank-0001-ln", "interval_secs": 1, "amount_msat": 200000},
76-
{"source": "tank-0001-ln", "destination": "tank-0002-ln", "interval_secs": 1, "amount_msat": 20000}]
68+
- tank-0004

test/data/ln/node-defaults.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ image:
66
repository: bitcoindevproject/bitcoin
77
pullPolicy: IfNotPresent
88
tag: '27.0'
9-
collectLogs: true
10-
metricsExport: true
9+
collectLogs: false
10+
metricsExport: false
1111

1212
#LN configs
1313
ln:
@@ -17,7 +17,7 @@ lnd:
1717
color=#000000
1818
config: |
1919
bitcoin.timelockdelta=33
20-
metricsExport: true
20+
metricsExport: false
2121
prometheusMetricsPort: 9332
2222
extraContainers:
2323
- name: lnd-exporter

0 commit comments

Comments
 (0)