mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
[Charts] Add option to pass in updateStrategy (#838)
This commit is contained in:
parent
80c72b590c
commit
02d4324492
2 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,8 @@ metadata:
|
||||||
{{- include "woodpecker-server.labels" . | nindent 4 }}
|
{{- include "woodpecker-server.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
strategy:
|
||||||
|
{{- toYaml .Values.updateStrategy | nindent 4 }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "woodpecker-server.selectorLabels" . | nindent 6 }}
|
{{- include "woodpecker-server.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
updateStrategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxUnavailable: 1
|
||||||
|
maxSurge: 0
|
||||||
|
type: RollingUpdate
|
||||||
|
|
||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-server
|
repository: woodpeckerci/woodpecker-server
|
||||||
|
|
Loading…
Reference in a new issue