Skip to content

Commit 7519aa1

Browse files
committed
split cluster class/topology in e2e AKS templates
1 parent 711d861 commit 7519aa1

File tree

7 files changed

+34
-27
lines changed

7 files changed

+34
-27
lines changed

templates/test/ci/cluster-template-prow-aks-clusterclass.yaml

Lines changed: 0 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-aks-topology.yaml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/prow-aks-clusterclass/kustomization.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ kind: Kustomization
33
namespace: default
44
resources:
55
- ../../../flavors/aks-clusterclass
6-
- ../../../flavors/aks-topology
76
patches:
87
- path: patches/tags-aks-clusterclass.yaml
98
- path: patches/aks-clusterclass-pool0.yaml
109
- path: patches/aks-clusterclass-pool1.yaml
11-
- path: patches/cluster.yaml
1210
- path: patches/addons.yaml
1311
- path: patches/kubeadm-config-template.yaml
1412
- path: patches.yaml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: default
4+
resources:
5+
- ../../../flavors/aks-topology
6+
patches:
7+
- path: patches/cluster.yaml
8+
9+
sortOptions:
10+
order: fifo

test/e2e/azure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ var _ = Describe("Workload cluster creation", func() {
894894
// Create a cluster using the cluster class created above
895895
clusterctl.ApplyClusterTemplateAndWait(ctx, createApplyClusterTemplateInput(
896896
specName,
897-
withFlavor("aks-clusterclass"),
897+
withFlavor("aks-topology"),
898898
withAzureCNIv1Manifest(e2eConfig.GetVariable(AzureCNIv1Manifest)),
899899
withNamespace(namespace.Name),
900900
withClusterName(clusterName),

test/e2e/config/azure-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ providers:
139139
targetName: "cluster-template-machine-pool-flex.yaml"
140140
- sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks.yaml"
141141
targetName: "cluster-template-aks.yaml"
142-
- sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-clusterclass.yaml"
143-
targetName: "cluster-template-aks-clusterclass.yaml"
142+
- sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-topology.yaml"
143+
targetName: "cluster-template-aks-topology.yaml"
144144
- sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-aso.yaml"
145145
targetName: "cluster-template-aks-aso.yaml"
146146
- sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-custom-vnet.yaml"

0 commit comments

Comments
 (0)