@@ -8,6 +8,15 @@ providers:
88 - name : cluster-api
99 type : CoreProvider
1010 versions :
11+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
12+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/core-components.yaml
13+ type : url
14+ contract : v1alpha3
15+ files :
16+ - sourcePath : " ../data/shared/v1alpha3/metadata.yaml"
17+ replacements :
18+ - old : " imagePullPolicy: Always"
19+ new : " imagePullPolicy: IfNotPresent"
1120 - name : v1.0.0
1221 value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/core-components.yaml
1322 type : url
@@ -16,11 +25,20 @@ providers:
1625 replacements :
1726 - old : " imagePullPolicy: Always"
1827 new : " imagePullPolicy: IfNotPresent"
19- - old : " --leader-elect "
20- new : " --leader-elect=false "
28+
29+
2130 - name : kubeadm
2231 type : BootstrapProvider
2332 versions :
33+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
34+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/bootstrap-components.yaml
35+ type : url
36+ contract : v1alpha3
37+ files :
38+ - sourcePath : " ../data/shared/v1alpha3/metadata.yaml"
39+ replacements :
40+ - old : " imagePullPolicy: Always"
41+ new : " imagePullPolicy: IfNotPresent"
2442 - name : v1.0.0
2543 value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/bootstrap-components.yaml
2644 type : url
@@ -29,11 +47,19 @@ providers:
2947 replacements :
3048 - old : " imagePullPolicy: Always"
3149 new : " imagePullPolicy: IfNotPresent"
32- - old : " --leader-elect"
33- new : " --leader-elect=false"
50+
3451 - name : kubeadm
3552 type : ControlPlaneProvider
3653 versions :
54+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
55+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/control-plane-components.yaml
56+ type : url
57+ contract : v1alpha3
58+ files :
59+ - sourcePath : " ../data/shared/v1alpha3/metadata.yaml"
60+ replacements :
61+ - old : " imagePullPolicy: Always"
62+ new : " imagePullPolicy: IfNotPresent"
3763 - name : v1.0.0
3864 value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/control-plane-components.yaml
3965 type : url
@@ -42,66 +68,74 @@ providers:
4268 replacements :
4369 - old : " imagePullPolicy: Always"
4470 new : " imagePullPolicy: IfNotPresent"
45- - old : " --leader-elect"
46- new : " --leader-elect=false"
71+
4772 - name : azure
4873 type : InfrastructureProvider
4974 versions :
50- - name : v1.0.0
75+ - name : v0.4.15 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
76+ value : https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/download/v0.4.15/infrastructure-components.yaml
77+ type : url
78+ contract : v1alpha3
79+ files :
80+ - sourcePath : " ../data/shared/v1alpha3_provider/metadata.yaml"
81+ - sourcePath : " ../data/infrastructure-azure/v1alpha3/cluster-template-prow.yaml"
82+ targetName : " cluster-template.yaml"
83+ replacements :
84+ - old : " imagePullPolicy: Always"
85+ new : " imagePullPolicy: IfNotPresent"
86+ - name : v1.0.99 # next; use manifest from source files
5187 value : " ${PWD}/config/default"
5288 files :
5389 - sourcePath : " ../data/shared/v1beta1_provider/metadata.yaml"
90+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow.yaml"
91+ targetName : " cluster-template.yaml"
92+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template.yaml"
93+ targetName : " cluster-template-management.yaml"
94+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-adoption.yaml"
95+ targetName : " cluster-template-kcp-adoption.yaml"
96+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ipv6.yaml"
97+ targetName : " cluster-template-ipv6.yaml"
98+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-md-remediation.yaml"
99+ targetName : " cluster-template-md-remediation.yaml"
100+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-remediation.yaml"
101+ targetName : " cluster-template-kcp-remediation.yaml"
102+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-scale-in.yaml"
103+ targetName : " cluster-template-kcp-scale-in.yaml"
104+ - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-node-drain.yaml"
105+ targetName : " cluster-template-node-drain.yaml"
106+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-machine-pool.yaml"
107+ targetName : " cluster-template-machine-pool.yaml"
108+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-nvidia-gpu.yaml"
109+ targetName : " cluster-template-nvidia-gpu.yaml"
110+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-private.yaml"
111+ targetName : " cluster-template-private.yaml"
112+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version.yaml"
113+ targetName : " cluster-template-conformance-ci-artifacts.yaml"
114+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version-windows.yaml"
115+ targetName : " cluster-template-conformance-ci-artifacts-windows.yaml"
116+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version-windows-containerd-2022.yaml"
117+ targetName : " cluster-template-conformance-ci-artifacts-windows-containerd-2022.yaml"
118+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version.yaml"
119+ targetName : " cluster-template-conformance-ci-artifacts-windows-containerd.yaml"
120+ - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds.yaml"
121+ targetName : " cluster-template-conformance-presubmit-artifacts.yaml"
122+ - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds.yaml"
123+ targetName : " cluster-template-conformance-presubmit-artifacts-windows-containerd.yaml"
124+ - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds-windows.yaml"
125+ targetName : " cluster-template-conformance-presubmit-artifacts-windows.yaml"
126+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-windows.yaml"
127+ targetName : " cluster-template-windows.yaml"
128+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml"
129+ targetName : " cluster-template-machine-pool-windows.yaml"
130+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-external-cloud-provider.yaml"
131+ targetName : " cluster-template-external-cloud-provider.yaml"
132+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-aks-multi-tenancy.yaml"
133+ targetName : " cluster-template-aks-multi-tenancy.yaml"
134+ - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-custom-vnet.yaml"
135+ targetName : " cluster-template-custom-vnet.yaml"
54136 replacements :
55137 - old : " --v=0"
56138 new : " --v=2"
57- files :
58- - sourcePath : " ../data/shared/v1beta1/metadata.yaml"
59- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow.yaml"
60- targetName : " cluster-template.yaml"
61- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template.yaml"
62- targetName : " cluster-template-management.yaml"
63- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-adoption.yaml"
64- targetName : " cluster-template-kcp-adoption.yaml"
65- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ipv6.yaml"
66- targetName : " cluster-template-ipv6.yaml"
67- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-md-remediation.yaml"
68- targetName : " cluster-template-md-remediation.yaml"
69- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-remediation.yaml"
70- targetName : " cluster-template-kcp-remediation.yaml"
71- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-kcp-scale-in.yaml"
72- targetName : " cluster-template-kcp-scale-in.yaml"
73- - sourcePath : " ../data/infrastructure-azure/v1beta1/cluster-template-node-drain.yaml"
74- targetName : " cluster-template-node-drain.yaml"
75- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-machine-pool.yaml"
76- targetName : " cluster-template-machine-pool.yaml"
77- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-nvidia-gpu.yaml"
78- targetName : " cluster-template-nvidia-gpu.yaml"
79- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-private.yaml"
80- targetName : " cluster-template-private.yaml"
81- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version.yaml"
82- targetName : " cluster-template-conformance-ci-artifacts.yaml"
83- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version-windows.yaml"
84- targetName : " cluster-template-conformance-ci-artifacts-windows.yaml"
85- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version-windows-containerd-2022.yaml"
86- targetName : " cluster-template-conformance-ci-artifacts-windows-containerd-2022.yaml"
87- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-ci-version.yaml"
88- targetName : " cluster-template-conformance-ci-artifacts-windows-containerd.yaml"
89- - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds.yaml"
90- targetName : " cluster-template-conformance-presubmit-artifacts.yaml"
91- - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds.yaml"
92- targetName : " cluster-template-conformance-presubmit-artifacts-windows-containerd.yaml"
93- - sourcePath : " ${PWD}/templates/test/dev/cluster-template-custom-builds-windows.yaml"
94- targetName : " cluster-template-conformance-presubmit-artifacts-windows.yaml"
95- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-windows.yaml"
96- targetName : " cluster-template-windows.yaml"
97- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml"
98- targetName : " cluster-template-machine-pool-windows.yaml"
99- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-external-cloud-provider.yaml"
100- targetName : " cluster-template-external-cloud-provider.yaml"
101- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-aks-multi-tenancy.yaml"
102- targetName : " cluster-template-aks-multi-tenancy.yaml"
103- - sourcePath : " ${PWD}/templates/test/ci/cluster-template-prow-custom-vnet.yaml"
104- targetName : " cluster-template-custom-vnet.yaml"
105139
106140variables :
107141 KUBERNETES_VERSION : " ${KUBERNETES_VERSION:-v1.22.1}"
@@ -125,6 +159,11 @@ variables:
125159 CLUSTER_IDENTITY_NAME : " cluster-identity"
126160 NODE_DRAIN_TIMEOUT : " 60s"
127161 CI_VERSION : " "
162+ # NOTE: INIT_WITH_BINARY and INIT_WITH_KUBERNETES_VERSION are only used by the clusterctl upgrade test to initialize
163+ # the management cluster to be upgraded.
164+ INIT_WITH_BINARY : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/clusterctl-{OS}-{ARCH}"
165+ INIT_WITH_PROVIDERS_CONTRACT : " v1alpha3"
166+ INIT_WITH_KUBERNETES_VERSION : " v1.21.2"
128167
129168intervals :
130169 default/wait-controllers : ["3m", "10s"]
0 commit comments