Skip to content

Commit 8e8d7d1

Browse files
committed
Don't restart bitcoin pods by default
1 parent b3f7eeb commit 8e8d7d1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

resources/charts/bitcoincore/templates/pod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ metadata:
1414
annotations:
1515
init_peers: "{{ .Values.connect | len }}"
1616
spec:
17+
restartPolicy: "{{ .Values.restartPolicy }}"
1718
{{- with .Values.imagePullSecrets }}
1819
imagePullSecrets:
1920
{{- toYaml . | nindent 4 }}

resources/charts/bitcoincore/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: Never
7+
68
image:
79
repository: bitcoindevproject/bitcoin
810
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)