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 @@ -49,20 +49,11 @@ type DiscoverAndWaitForAKSControlPlaneInput struct {
4949// This will be invoked by cluster api e2e framework.
5050func WaitForAKSControlPlaneInitialized (ctx context.Context , input clusterctl.ApplyCustomClusterTemplateAndWaitInput , result * clusterctl.ApplyCustomClusterTemplateAndWaitResult ) {
5151 client := input .ClusterProxy .GetClient ()
52- cluster := framework .GetClusterByName (ctx , framework.GetClusterByNameInput {
53- Getter : client ,
54- Name : input .ClusterName ,
55- Namespace : input .Namespace ,
56- })
57-
5852 DiscoverAndWaitForAKSControlPlaneInitialized (ctx , DiscoverAndWaitForAKSControlPlaneInput {
5953 Lister : client ,
6054 Getter : client ,
6155 Cluster : result .Cluster ,
6256 }, input .WaitForControlPlaneIntervals ... )
63- if cluster .Spec .ClusterNetwork != nil && cluster .Spec .ClusterNetwork .Services != nil {
64- InstallCNIManifest (ctx , input , cluster .Spec .ClusterNetwork .Services .CIDRBlocks , true )
65- }
6657}
6758
6859// WaitForAKSControlPlaneReady waits for the azure managed control plane to be ready.
Original file line number Diff line number Diff line change @@ -725,7 +725,6 @@ var _ = Describe("Workload cluster creation", func() {
725725 clusterTemplate := createApplyClusterTemplateInput (
726726 specName ,
727727 withFlavor ("aks" ),
728- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
729728 withNamespace (namespace .Name ),
730729 withClusterName (clusterName ),
731730 withKubernetesVersion (kubernetesVersionUpgradeFrom ),
@@ -932,7 +931,6 @@ var _ = Describe("Workload cluster creation", func() {
932931 clusterctl .ApplyClusterTemplateAndWait (ctx , createApplyClusterTemplateInput (
933932 specName ,
934933 withFlavor ("aks-topology" ),
935- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
936934 withNamespace (namespace .Name ),
937935 withClusterName (clusterName ),
938936 withKubernetesVersion (kubernetesVersionUpgradeFrom ),
You can’t perform that action at this time.
0 commit comments