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 {
49
49
// This will be invoked by cluster api e2e framework.
50
50
func WaitForAKSControlPlaneInitialized (ctx context.Context , input clusterctl.ApplyCustomClusterTemplateAndWaitInput , result * clusterctl.ApplyCustomClusterTemplateAndWaitResult ) {
51
51
client := input .ClusterProxy .GetClient ()
52
- cluster := framework .GetClusterByName (ctx , framework.GetClusterByNameInput {
53
- Getter : client ,
54
- Name : input .ClusterName ,
55
- Namespace : input .Namespace ,
56
- })
57
-
58
52
DiscoverAndWaitForAKSControlPlaneInitialized (ctx , DiscoverAndWaitForAKSControlPlaneInput {
59
53
Lister : client ,
60
54
Getter : client ,
61
55
Cluster : result .Cluster ,
62
56
}, input .WaitForControlPlaneIntervals ... )
63
- if cluster .Spec .ClusterNetwork != nil && cluster .Spec .ClusterNetwork .Services != nil {
64
- InstallCNIManifest (ctx , input , cluster .Spec .ClusterNetwork .Services .CIDRBlocks , true )
65
- }
66
57
}
67
58
68
59
// 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() {
725
725
clusterTemplate := createApplyClusterTemplateInput (
726
726
specName ,
727
727
withFlavor ("aks" ),
728
- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
729
728
withNamespace (namespace .Name ),
730
729
withClusterName (clusterName ),
731
730
withKubernetesVersion (kubernetesVersionUpgradeFrom ),
@@ -932,7 +931,6 @@ var _ = Describe("Workload cluster creation", func() {
932
931
clusterctl .ApplyClusterTemplateAndWait (ctx , createApplyClusterTemplateInput (
933
932
specName ,
934
933
withFlavor ("aks-topology" ),
935
- withAzureCNIv1Manifest (e2eConfig .GetVariable (AzureCNIv1Manifest )),
936
934
withNamespace (namespace .Name ),
937
935
withClusterName (clusterName ),
938
936
withKubernetesVersion (kubernetesVersionUpgradeFrom ),
You can’t perform that action at this time.
0 commit comments