fix(argo-rollouts): controller replicas count comparison (#2309)

This commit is contained in:
Jason Meridth 2023-10-24 07:39:37 -05:00 committed by GitHub
parent a67424d0c4
commit 804af65b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 }}