Skip to content

Commit 3290258

Browse files
authored
Set deployment strategy to "Recreate" in nuts-node Helm chart deployment (#3936)
* Set deployment strategy to "Recreate" in nuts-node Helm chart deployment. strategy: Recreate - Prevents two pods running simultaneously (important for stateful apps like nuts-node with persistent volumes) * Bump chart version to 0.0.6 in Chart.yaml.
1 parent 9cdb154 commit 3290258

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/nuts-node/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.0.5
18+
version: 0.0.6
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/nuts-node/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ metadata:
55
labels:
66
{{- include "chart.labels" . | nindent 4 }}
77
spec:
8+
strategy:
9+
type: Recreate
810
{{- if not .Values.autoscaling.enabled }}
911
replicas: {{ .Values.replicaCount }}
1012
{{- end }}

0 commit comments

Comments
 (0)