Skip to content

Commit

Permalink
minor: lint and remove duplicate config maps
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Nov 18, 2024
1 parent 98e209a commit e400b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 2 additions & 8 deletions resources/charts/bitcoincore/charts/lnd/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ spec:
name: config
subPath: lnd.conf
- mountPath: /root/.lnd/tls.key
name: tlskey
name: config
subPath: tls.key
- mountPath: /root/.lnd/tls.cert
name: tlscert
name: config
subPath: tls.cert
{{- if .Values.circuitBreaker }}
- name: circuitbreaker
Expand All @@ -68,12 +68,6 @@ spec:
- configMap:
name: {{ include "lnd.fullname" . }}
name: config
- configMap:
name: {{ include "lnd.fullname" . }}
name: tlskey
- configMap:
name: {{ include "lnd.fullname" . }}
name: tlscert
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 4 }}
Expand Down
4 changes: 1 addition & 3 deletions resources/scenarios/test_scenarios/ln_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ def run_test(self):
pk3, host = uri.split("@")

print(
self.lns["tank-0002-ln"].post(
"/v1/peers", data={"addr": {"pubkey": pk3, "host": host}}
)
self.lns["tank-0002-ln"].post("/v1/peers", data={"addr": {"pubkey": pk3, "host": host}})
)

print(
Expand Down

0 comments on commit e400b3d

Please sign in to comment.