Skip to content

Commit 860e7f8

Browse files
committed
lnd: configure restart policy
1 parent eed97e7 commit 860e7f8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ metadata:
1616
kubectl.kubernetes.io/default-container: "lnd"
1717
adminMacaroon: {{ .Values.adminMacaroon }}
1818
spec:
19+
restartPolicy: "{{ .Values.restartPolicy }}"
1920
{{- with .Values.imagePullSecrets }}
2021
imagePullSecrets:
2122
{{- toYaml . | nindent 4 }}

resources/charts/bitcoincore/charts/lnd/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Declare variables to be passed into your templates.
44
namespace: warnet
55

6+
restartPolicy: Always
7+
68
image:
79
repository: lightninglabs/lnd
810
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)