File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,11 @@ type DiscoverAndWaitForAKSControlPlaneInput struct {
4848// This will be invoked by cluster api e2e framework.
4949func WaitForAKSControlPlaneInitialized (ctx context.Context , input clusterctl.ApplyCustomClusterTemplateAndWaitInput , result * clusterctl.ApplyCustomClusterTemplateAndWaitResult ) {
5050 client := input .ClusterProxy .GetClient ()
51- cluster := framework .GetClusterByName (ctx , framework.GetClusterByNameInput {
52- Getter : client ,
53- Name : input .ClusterName ,
54- Namespace : input .Namespace ,
55- })
56-
5751 DiscoverAndWaitForAKSControlPlaneInitialized (ctx , DiscoverAndWaitForAKSControlPlaneInput {
5852 Lister : client ,
5953 Getter : client ,
6054 Cluster : result .Cluster ,
6155 }, input .WaitForControlPlaneIntervals ... )
62- if cluster .Spec .ClusterNetwork != nil && cluster .Spec .ClusterNetwork .Services != nil {
63- InstallCNIManifest (ctx , input , cluster .Spec .ClusterNetwork .Services .CIDRBlocks , true )
64- }
6556}
6657
6758// WaitForAKSControlPlaneReady waits for the azure managed control plane to be ready.
Original file line number Diff line number Diff line change @@ -687,7 +687,6 @@ var _ = Describe("Workload cluster creation", func() {
687687 clusterTemplate := createApplyClusterTemplateInput (
688688 specName ,
689689 withFlavor ("aks" ),
690- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
691690 withNamespace (namespace .Name ),
692691 withClusterName (clusterName ),
693692 withKubernetesVersion (kubernetesVersionUpgradeFrom ),
@@ -894,7 +893,6 @@ var _ = Describe("Workload cluster creation", func() {
894893 clusterctl .ApplyClusterTemplateAndWait (ctx , createApplyClusterTemplateInput (
895894 specName ,
896895 withFlavor ("aks-topology" ),
897- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
898896 withNamespace (namespace .Name ),
899897 withClusterName (clusterName ),
900898 withKubernetesVersion (kubernetesVersionUpgradeFrom ),
You can’t perform that action at this time.
0 commit comments