Add revisionHistoryLimit for controller
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
241fff34a1
commit
a79081ff41
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ metadata:
|
|||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||
spec:
|
||||
replicas: {{ .Values.controller.replicas }}
|
||||
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit | default .Values.global.revisionHistoryLimit }}
|
||||
serviceName: {{ include "argo-cd.controller.fullname" . }}
|
||||
selector:
|
||||
matchLabels:
|
||||
|
|
|
@ -577,6 +577,9 @@ controller:
|
|||
# Additional replicas will cause sharding of managed clusters across number of replicas.
|
||||
replicas: 1
|
||||
|
||||
# -- Maximum number of controller revisions that will be maintained in controller StatefulSet history
|
||||
revisionHistoryLimit: 5
|
||||
|
||||
## Application controller Pod Disruption Budget
|
||||
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
||||
pdb:
|
||||
|
|
Loading…
Reference in a new issue