mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-04 18:21:06 +02:00
[Charts] Add option to pass in updateStrategy (#838)
This commit is contained in:
parent
80c72b590c
commit
02d4324492
@ -6,6 +6,8 @@ metadata:
|
||||
{{- include "woodpecker-server.labels" . | nindent 4 }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
strategy:
|
||||
{{- toYaml .Values.updateStrategy | nindent 4 }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "woodpecker-server.selectorLabels" . | nindent 6 }}
|
||||
|
@ -1,5 +1,11 @@
|
||||
replicaCount: 1
|
||||
|
||||
updateStrategy:
|
||||
rollingUpdate:
|
||||
maxUnavailable: 1
|
||||
maxSurge: 0
|
||||
type: RollingUpdate
|
||||
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: woodpeckerci/woodpecker-server
|
||||
|
Loading…
x
Reference in New Issue
Block a user