@@ -45,7 +45,6 @@ type AKSMarketplaceExtensionSpecInput struct {
4545}
4646
4747const  (
48- 	extensionName          =  "AKS-marketplace-extension"  // Test that upper case name is allowed 
4948	officialExtensionName  =  "official-aks-extension" 
5049)
5150
@@ -130,7 +129,7 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
130129	}, input .WaitIntervals ... ).Should (Succeed ())
131130	Eventually (checkTaints , input .WaitIntervals ... ).Should (Succeed ())
132131
133- 	By ("Adding an official AKS Extension & AKS Marketplace Extension  to the AzureManagedControlPlane" )
132+ 	By ("Adding an official AKS Extension to the AzureManagedControlPlane" )
134133	var  infraControlPlane  =  & infrav1.AzureManagedControlPlane {}
135134	Eventually (func (g  Gomega ) {
136135		err  =  mgmtClient .Get (ctx , client.ObjectKey {
@@ -139,15 +138,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
139138		}, infraControlPlane )
140139		g .Expect (err ).NotTo (HaveOccurred ())
141140		infraControlPlane .Spec .Extensions  =  []infrav1.AKSExtension {
142- 			{
143- 				Name :          extensionName ,
144- 				ExtensionType : ptr .To ("TraefikLabs.TraefikProxy" ),
145- 				Plan : & infrav1.ExtensionPlan {
146- 					Name :      "traefik-proxy" ,
147- 					Product :   "traefik-proxy" ,
148- 					Publisher : "containous" ,
149- 				},
150- 			},
151141			{
152142				Name :          officialExtensionName ,
153143				ExtensionType : ptr .To ("microsoft.flux" ),
@@ -164,7 +154,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
164154	}, input .WaitIntervals ... ).Should (Succeed ())
165155
166156	By ("Ensuring the AKS Marketplace Extension is added to the AzureManagedControlPlane" )
167- 	ensureAKSExtensionAdded (ctx , input , extensionName , "TraefikLabs.TraefikProxy" , extensionClient , amcp )
168157	ensureAKSExtensionAdded (ctx , input , officialExtensionName , "microsoft.flux" , extensionClient , amcp )
169158
170159	By ("Deleting the AKS Marketplace Extension" )
@@ -179,7 +168,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
179168	}, input .WaitIntervals ... ).Should (Succeed ())
180169
181170	By ("Ensuring the AKS Marketplace Extension is deleted from the AzureManagedControlPlane" )
182- 	ensureAKSExtensionDeleted (ctx , input , extensionName , extensionClient , amcp )
183171	ensureAKSExtensionDeleted (ctx , input , officialExtensionName , extensionClient , amcp )
184172
185173	By ("Restoring initial taints for Windows machine pool" )
0 commit comments