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
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.6.0
|
appVersion: v1.6.0
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.32.0
|
version: 2.32.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -18,5 +18,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Upgrade Argo Rollouts to v1.6.0
|
description: Use integer instead of float for controller replicas
|
||||||
|
|
|
@ -48,7 +48,7 @@ spec:
|
||||||
{{- if not .Values.clusterInstall }}
|
{{- if not .Values.clusterInstall }}
|
||||||
- --namespaced
|
- --namespaced
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if gt .Values.controller.replicas 1.0 }}
|
{{- if gt (int .Values.controller.replicas) 1 }}
|
||||||
- --leader-elect
|
- --leader-elect
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.controller.extraArgs }}
|
{{- with .Values.controller.extraArgs }}
|
||||||
|
|
Loading…
Reference in a new issue