Skip to content

Commit

Permalink
[stable/redis-ha] add maxUnavailable value for the ha-proxy rollingUp…
Browse files Browse the repository at this point in the history
…date config, fix issue DandyDeveloper#249.

Signed-off-by: Martijn van der Ploeg <[email protected]>
  • Loading branch information
martijnvdp committed Apr 3, 2023
1 parent bb6cb8f commit 37a363a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/redis-ha/templates/redis-haproxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ metadata:
spec:
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: {{ .Values.haproxy.rollingUpdate.maxUnavailable }}
revisionHistoryLimit: 1
replicas: {{ .Values.haproxy.replicas }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/redis-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ haproxy:
enabled: false
port: 6380
replicas: 3
rollingUpdate:
maxUnavailable: 1
image:
repository: haproxy
tag: 2.6.9
Expand Down

0 comments on commit 37a363a

Please sign in to comment.