From dc4b5130db46ccdef39c8e6fc2a60f1eba49e72f Mon Sep 17 00:00:00 2001 From: Vignesh Goutham Ganesh <72776369+vignesh-goutham@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:21:23 -0500 Subject: [PATCH] Add hardware csv generation for kubelet config tests (#8402) --- test/e2e/kubeletconfig.go | 1 + test/e2e/tinkerbell_test.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test/e2e/kubeletconfig.go b/test/e2e/kubeletconfig.go index d10630abcede..94ef3df5edf7 100644 --- a/test/e2e/kubeletconfig.go +++ b/test/e2e/kubeletconfig.go @@ -9,6 +9,7 @@ import ( func runKubeletConfigurationFlow(test *framework.ClusterE2ETest) { test.GenerateClusterConfig() + test.GenerateHardwareConfig() test.CreateCluster() test.ValidateKubeletConfig() test.StopIfFailed() diff --git a/test/e2e/tinkerbell_test.go b/test/e2e/tinkerbell_test.go index 4cb6bf07400a..796f151d57a7 100644 --- a/test/e2e/tinkerbell_test.go +++ b/test/e2e/tinkerbell_test.go @@ -1725,6 +1725,8 @@ func TestTinkerbellKubernetes129KubeletConfigurationSimpleFlow(t *testing.T) { t, framework.NewTinkerbell(t, framework.WithUbuntu129Tinkerbell()), framework.WithClusterFiller(api.WithKubernetesVersion(v1alpha1.Kube129)), + framework.WithControlPlaneHardware(1), + framework.WithWorkerHardware(1), framework.WithKubeletConfig(), ) runKubeletConfigurationFlow(test) @@ -1735,6 +1737,8 @@ func TestTinkerbellKubernetes130KubeletConfigurationSimpleFlow(t *testing.T) { t, framework.NewTinkerbell(t, framework.WithUbuntu130Tinkerbell()), framework.WithClusterFiller(api.WithKubernetesVersion(v1alpha1.Kube130)), + framework.WithControlPlaneHardware(1), + framework.WithWorkerHardware(1), framework.WithKubeletConfig(), ) runKubeletConfigurationFlow(test)