Skip to content

Commit

Permalink
configurable deployment stratgey
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusKepert committed Aug 23, 2021
1 parent 6ad9203 commit 1029ede
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy:
type: Recreate
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 1029ede

Please sign in to comment.