Skip to content

Commit

Permalink
Update app.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Munkkeli authored Jan 7, 2025
1 parent a8a20d8 commit 6605855
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .diploi/helm/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ spec:
selector:
matchLabels:
app: app
{{- if eq .Values.stage "development"}}
serviceName: app
{{- else }}
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
{{- end }}
replicas: {{ ternary 1 0 .Values.enabled }}
template:
metadata:
Expand Down

0 comments on commit 6605855

Please sign in to comment.