@@ -45,7 +45,6 @@ type AKSMarketplaceExtensionSpecInput struct {
45
45
}
46
46
47
47
const (
48
- extensionName = "AKS-marketplace-extension" // Test that upper case name is allowed
49
48
officialExtensionName = "official-aks-extension"
50
49
)
51
50
@@ -130,7 +129,7 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
130
129
}, input .WaitIntervals ... ).Should (Succeed ())
131
130
Eventually (checkTaints , input .WaitIntervals ... ).Should (Succeed ())
132
131
133
- By ("Adding an official AKS Extension & AKS Marketplace Extension to the AzureManagedControlPlane" )
132
+ By ("Adding an official AKS Extension to the AzureManagedControlPlane" )
134
133
var infraControlPlane = & infrav1.AzureManagedControlPlane {}
135
134
Eventually (func (g Gomega ) {
136
135
err = mgmtClient .Get (ctx , client.ObjectKey {
@@ -139,15 +138,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
139
138
}, infraControlPlane )
140
139
g .Expect (err ).NotTo (HaveOccurred ())
141
140
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
- },
151
141
{
152
142
Name : officialExtensionName ,
153
143
ExtensionType : ptr .To ("microsoft.flux" ),
@@ -164,7 +154,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
164
154
}, input .WaitIntervals ... ).Should (Succeed ())
165
155
166
156
By ("Ensuring the AKS Marketplace Extension is added to the AzureManagedControlPlane" )
167
- ensureAKSExtensionAdded (ctx , input , extensionName , "TraefikLabs.TraefikProxy" , extensionClient , amcp )
168
157
ensureAKSExtensionAdded (ctx , input , officialExtensionName , "microsoft.flux" , extensionClient , amcp )
169
158
170
159
By ("Deleting the AKS Marketplace Extension" )
@@ -179,7 +168,6 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
179
168
}, input .WaitIntervals ... ).Should (Succeed ())
180
169
181
170
By ("Ensuring the AKS Marketplace Extension is deleted from the AzureManagedControlPlane" )
182
- ensureAKSExtensionDeleted (ctx , input , extensionName , extensionClient , amcp )
183
171
ensureAKSExtensionDeleted (ctx , input , officialExtensionName , extensionClient , amcp )
184
172
185
173
By ("Restoring initial taints for Windows machine pool" )
0 commit comments