From d8bf25eea9c72ee4883bad1ee580e9a11c596a01 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 11 Mar 2026 15:24:45 +0100 Subject: [PATCH] Make lnd.startupProbe overridable --- resources/charts/bitcoincore/charts/lnd/templates/pod.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/charts/bitcoincore/charts/lnd/templates/pod.yaml b/resources/charts/bitcoincore/charts/lnd/templates/pod.yaml index c8cbb2441..751301879 100644 --- a/resources/charts/bitcoincore/charts/lnd/templates/pod.yaml +++ b/resources/charts/bitcoincore/charts/lnd/templates/pod.yaml @@ -44,6 +44,9 @@ spec: readinessProbe: {{- toYaml .Values.readinessProbe | nindent 8 }} startupProbe: + {{- if .Values.startupProbe }} + {{- toYaml .Values.startupProbe | nindent 8 }} + {{- else }} failureThreshold: 10 periodSeconds: 5 successThreshold: 1 @@ -72,6 +75,7 @@ spec: until curl --fail --insecure https://localhost:8080/v1/initwallet --data "{\"macaroon_root_key\":\"{{ .Values.macaroonRootKey }}\", \"wallet_password\":\"AAAAAAAAAAA=\", \"cipher_seed_mnemonic\": $PHRASE}"; do sleep 5 done + {{- end }} resources: {{- toYaml .Values.resources | nindent 8 }} volumeMounts: