diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 8d4599cae..965c7f64d 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -167,7 +167,7 @@ Set's the replica count based on the different modes configured by user {{ if eq .mode "standalone" }} {{- default 1 -}} {{ else if eq .mode "ha" }} - {{- if kindIs "int64" .Values.server.ha.replicas -}} + {{- if or (kindIs "int64" .Values.server.ha.replicas) (kindIs "float64" .Values.server.ha.replicas) -}} {{- .Values.server.ha.replicas -}} {{ else }} {{- 3 -}}