Skip to content

Commit

Permalink
Add hardware csv generation for kubelet config tests (#8402)
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesh-goutham authored Jun 27, 2024
1 parent 07d37a2 commit dc4b513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/kubeletconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

func runKubeletConfigurationFlow(test *framework.ClusterE2ETest) {
test.GenerateClusterConfig()
test.GenerateHardwareConfig()
test.CreateCluster()
test.ValidateKubeletConfig()
test.StopIfFailed()
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/tinkerbell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit dc4b513

Please sign in to comment.