Skip to content

Commit

Permalink
Fix kubelet config flow for all providers (#8409)
Browse files Browse the repository at this point in the history
Co-authored-by: EKS Distro PR Bot <[email protected]>
  • Loading branch information
mitalipaygude and eks-distro-pr-bot authored Jun 27, 2024
1 parent 9ffc26e commit ebcd518
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions test/e2e/kubeletconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ import (
)

func runKubeletConfigurationFlow(test *framework.ClusterE2ETest) {
test.GenerateClusterConfig()
test.CreateCluster()
test.ValidateKubeletConfig()
test.StopIfFailed()
test.DeleteCluster()
}

func runKubeletConfigurationTinkerbellFlow(test *framework.ClusterE2ETest) {
test.GenerateClusterConfig()
test.GenerateHardwareConfig()
test.CreateCluster()
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/tinkerbell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ func TestTinkerbellKubernetes129KubeletConfigurationSimpleFlow(t *testing.T) {
framework.WithWorkerHardware(1),
framework.WithKubeletConfig(),
)
runKubeletConfigurationFlow(test)
runKubeletConfigurationTinkerbellFlow(test)
}

func TestTinkerbellKubernetes130KubeletConfigurationSimpleFlow(t *testing.T) {
Expand All @@ -1741,5 +1741,5 @@ func TestTinkerbellKubernetes130KubeletConfigurationSimpleFlow(t *testing.T) {
framework.WithWorkerHardware(1),
framework.WithKubeletConfig(),
)
runKubeletConfigurationFlow(test)
runKubeletConfigurationTinkerbellFlow(test)
}

0 comments on commit ebcd518

Please sign in to comment.