Skip to content

Commit

Permalink
update for rolling updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RemcoRitense committed Jun 29, 2023
1 parent abb46b9 commit 5c17aeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/valtimo-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for Kubernetes
name: valtimo-backend
type: application
version: 0.1.4
version: 0.1.5

dependencies:
- name: postgresql
Expand Down
5 changes: 5 additions & 0 deletions charts/valtimo-backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
progressDeadlineSeconds: 120
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
selector:
matchLabels:
{{- include "valtimo-backend.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 5c17aeb

Please sign in to comment.