From 5b9060787e2777f162b957bd62e7d93faa5b4c32 Mon Sep 17 00:00:00 2001 From: Din Music Date: Mon, 30 Sep 2024 21:07:44 +0200 Subject: [PATCH] pkg/models: Update k8s version test Signed-off-by: Din Music --- pkg/models/config/kubernetes_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/models/config/kubernetes_test.go b/pkg/models/config/kubernetes_test.go index e1fa7864..d6bc7bfc 100644 --- a/pkg/models/config/kubernetes_test.go +++ b/pkg/models/config/kubernetes_test.go @@ -10,10 +10,7 @@ import ( ) func TestKubernetesVersion(t *testing.T) { - assert.NoError(t, KubernetesVersion("v1.27.0").Validate()) - assert.NoError(t, KubernetesVersion("v1.27.5").Validate()) - assert.NoError(t, KubernetesVersion("v1.28.0").Validate()) - assert.NoError(t, KubernetesVersion("v1.28.5").Validate()) + assert.NoError(t, KubernetesVersion("v1.30.0").Validate()) assert.ErrorContains(t, KubernetesVersion("v1.1.1").Validate(), "Unsupported Kubernetes version") assert.ErrorContains(t, KubernetesVersion("v1.28.100").Validate(), "Unsupported Kubernetes version") }