mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-27 14:37:17 +00:00
Fixing eval for enabling HA
When set to 1.0 <gt .Values.reloader.deployment.replicas 1.0>: error calling gt: incompatible types for comparison But works when set to 1
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.0) (.Values.reloader.enableHA) }}
|
||||
{{- if or (gt .Values.reloader.deployment.replicas 1) (.Values.reloader.enableHA) }}
|
||||
- "--enable-ha=true"
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user