Skip to content

Commit 37d3b0e

Browse files
alimaazamatk8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
Remove community AKS extension test because no longer valid
1 parent 13ed92e commit 37d3b0e

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

docs/book/src/managed/managedcluster.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,7 @@ metadata:
331331
spec:
332332
extensions:
333333
- name: my-extension
334-
extensionType: "TraefikLabs.TraefikProxy"
335-
plan:
336-
name: "traefik-proxy"
337-
product: "traefik-proxy"
338-
publisher: "containous"
334+
extensionType: "microsoft.flux"
339335
```
340336

341337
To list all of the available extensions for your cluster as well as its plan details, use the following az cli command:

test/e2e/aks_marketplace.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ type AKSMarketplaceExtensionSpecInput struct {
4545
}
4646

4747
const (
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

Comments
 (0)