Fix check if server.ha.replicas is a number when set in values.yaml (#961)
This commit is contained in:
parent
f72df27d56
commit
9b3ceaac99
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue