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 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
|
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit | default .Values.global.revisionHistoryLimit }}
|
||||||
serviceName: {{ include "argo-cd.controller.fullname" . }}
|
serviceName: {{ include "argo-cd.controller.fullname" . }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
|
@ -577,6 +577,9 @@ controller:
|
||||||
# Additional replicas will cause sharding of managed clusters across number of replicas.
|
# Additional replicas will cause sharding of managed clusters across number of replicas.
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
|
# -- Maximum number of controller revisions that will be maintained in controller StatefulSet history
|
||||||
|
revisionHistoryLimit: 5
|
||||||
|
|
||||||
## Application controller Pod Disruption Budget
|
## Application controller Pod Disruption Budget
|
||||||
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
||||||
pdb:
|
pdb:
|
||||||
|
|
Loading…
Reference in a new issue