Skip to content

Commit

Permalink
Merge pull request 8gears#18 from MarkusKepert/master
Browse files Browse the repository at this point in the history
add explicit deployment strategy
  • Loading branch information
Vad1mo committed Aug 26, 2021
2 parents 9226f41 + 1029ede commit 25a4df5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy:
type: {{ .Values.deploymentStrategy.type }}
selector:
matchLabels:
{{- include "n8n.selectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ persistence:

replicaCount: 1

deploymentStrategy:
type: "Recreate"

image:
repository: n8nio/n8n
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 25a4df5

Please sign in to comment.