diff --git a/charts/t8s-cluster/templates/management-cluster/cluster.yaml b/charts/t8s-cluster/templates/management-cluster/cluster.yaml index 92d3925c65..485c4f85e3 100644 --- a/charts/t8s-cluster/templates/management-cluster/cluster.yaml +++ b/charts/t8s-cluster/templates/management-cluster/cluster.yaml @@ -34,7 +34,7 @@ spec: {{- end }} flavor: {{ $machineDeploymentClass.flavor | quote }} {{- with $machineDeploymentClass.replicas }} - {{- if typeIs "map" . }} + {{- if kindIs "map" . }} {{- if gt .min .max }} {{- fail (printf "nodePools.%s.replicas.min must not be greater than nodePools.%s.replicas.max" $name $name) -}} {{- end }}