Skip to content

Commit e400b3d

Browse files
committed
minor: lint and remove duplicate config maps
1 parent 98e209a commit e400b3d

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

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

+2-8
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ spec:
5151
name: config
5252
subPath: lnd.conf
5353
- mountPath: /root/.lnd/tls.key
54-
name: tlskey
54+
name: config
5555
subPath: tls.key
5656
- mountPath: /root/.lnd/tls.cert
57-
name: tlscert
57+
name: config
5858
subPath: tls.cert
5959
{{- if .Values.circuitBreaker }}
6060
- name: circuitbreaker
@@ -68,12 +68,6 @@ spec:
6868
- configMap:
6969
name: {{ include "lnd.fullname" . }}
7070
name: config
71-
- configMap:
72-
name: {{ include "lnd.fullname" . }}
73-
name: tlskey
74-
- configMap:
75-
name: {{ include "lnd.fullname" . }}
76-
name: tlscert
7771
{{- with .Values.nodeSelector }}
7872
nodeSelector:
7973
{{- toYaml . | nindent 4 }}

resources/scenarios/test_scenarios/ln_basic.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def run_test(self):
1919
pk3, host = uri.split("@")
2020

2121
print(
22-
self.lns["tank-0002-ln"].post(
23-
"/v1/peers", data={"addr": {"pubkey": pk3, "host": host}}
24-
)
22+
self.lns["tank-0002-ln"].post("/v1/peers", data={"addr": {"pubkey": pk3, "host": host}})
2523
)
2624

2725
print(

0 commit comments

Comments
 (0)