[helm] make sure comparison for deployment replicas is always doing so against an int

This commit is contained in:
John Stewart
2023-03-10 16:31:09 -05:00
committed by GitHub
parent 6498f5a536
commit 1c165c86da

View File

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