mirror of
https://github.com/stakater/Reloader.git
synced 2026-03-05 19:00:28 +00:00
[helm] make sure comparison for deployment replicas is always doing so against an int
This commit is contained in:
@@ -210,7 +210,7 @@ spec:
|
||||
{{- if ne .Values.reloader.reloadStrategy "default" }}
|
||||
- "--reload-strategy={{ .Values.reloader.reloadStrategy }}"
|
||||
{{- end }}
|
||||
{{- if or (gt .Values.reloader.deployment.replicas 1) (.Values.reloader.enableHA) }}
|
||||
{{- if or (gt (int .Values.reloader.deployment.replicas) 1) (.Values.reloader.enableHA) }}
|
||||
- "--enable-ha=true"
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user