From 12749b1bd19d99cf1b18cebb7052bc2ec65284a7 Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Wed, 22 Oct 2025 11:01:53 +0200 Subject: [PATCH] fix(t8s-cluster/management-cluster): fix replicas type checking --- charts/t8s-cluster/templates/management-cluster/cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}