fix(argo-rollouts): controller replicas count comparison (#2309)
This commit is contained in:
parent
a67424d0c4
commit
804af65b38
2 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ spec:
|
|||
{{- if not .Values.clusterInstall }}
|
||||
- --namespaced
|
||||
{{- end }}
|
||||
{{- if gt .Values.controller.replicas 1.0 }}
|
||||
{{- if gt (int .Values.controller.replicas) 1 }}
|
||||
- --leader-elect
|
||||
{{- end }}
|
||||
{{- with .Values.controller.extraArgs }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue