@@ -28,6 +28,24 @@ providers:
2828 - name : cluster-api
2929 type : CoreProvider
3030 versions :
31+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
32+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/core-components.yaml
33+ type : url
34+ contract : v1alpha3
35+ files :
36+ - sourcePath : " ../data/shared/metadata.yaml"
37+ replacements :
38+ - old : " imagePullPolicy: Always"
39+ new : " imagePullPolicy: IfNotPresent"
40+ - name : v0.4.4 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
41+ contract : v1alpha4
42+ value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/core-components.yaml"
43+ type : " url"
44+ files :
45+ - sourcePath : " ../data/shared/metadata.yaml"
46+ replacements :
47+ - old : " imagePullPolicy: Always"
48+ new : " imagePullPolicy: IfNotPresent"
3149 - name : v1.0.0
3250 # Use manifest from source files
3351 value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/core-components.yaml"
@@ -37,12 +55,28 @@ providers:
3755 replacements :
3856 - old : " imagePullPolicy: Always"
3957 new : " imagePullPolicy: IfNotPresent"
40- - old : " --enable-leader-election"
41- new : " --enable-leader-election=false"
4258
4359 - name : kubeadm
4460 type : BootstrapProvider
4561 versions :
62+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
63+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/bootstrap-components.yaml
64+ type : url
65+ contract : v1alpha3
66+ files :
67+ - sourcePath : " ../data/shared/metadata.yaml"
68+ replacements :
69+ - old : " imagePullPolicy: Always"
70+ new : " imagePullPolicy: IfNotPresent"
71+ - name : v0.4.4 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
72+ value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/bootstrap-components.yaml"
73+ type : " url"
74+ contract : v1alpha4
75+ files :
76+ - sourcePath : " ../data/shared/metadata.yaml"
77+ replacements :
78+ - old : " imagePullPolicy: Always"
79+ new : " imagePullPolicy: IfNotPresent"
4680 - name : v1.0.0
4781 # Use manifest from source files
4882 value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/bootstrap-components.yaml"
@@ -52,12 +86,28 @@ providers:
5286 replacements :
5387 - old : " imagePullPolicy: Always"
5488 new : " imagePullPolicy: IfNotPresent"
55- - old : " --enable-leader-election"
56- new : " --enable-leader-election=false"
5789
5890 - name : kubeadm
5991 type : ControlPlaneProvider
6092 versions :
93+ - name : v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
94+ value : https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/control-plane-components.yaml
95+ type : url
96+ contract : v1alpha3
97+ files :
98+ - sourcePath : " ../data/shared/metadata.yaml"
99+ replacements :
100+ - old : " imagePullPolicy: Always"
101+ new : " imagePullPolicy: IfNotPresent"
102+ - name : v0.4.4
103+ value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/control-plane-components.yaml"
104+ type : " url"
105+ contract : v1alpha4
106+ files :
107+ - sourcePath : " ../data/shared/metadata.yaml"
108+ replacements :
109+ - old : " imagePullPolicy: Always"
110+ new : " imagePullPolicy: IfNotPresent"
61111 - name : v1.0.0
62112 # Use manifest from source files
63113 value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.0/control-plane-components.yaml"
@@ -67,25 +117,38 @@ providers:
67117 replacements :
68118 - old : " imagePullPolicy: Always"
69119 new : " imagePullPolicy: IfNotPresent"
70- - old : " --enable-leader-election"
71- new : " --enable-leader-election=false"
72120
73121 - name : vsphere
74122 type : InfrastructureProvider
75123 versions :
124+ - name : v0.7.10
125+ value : https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.7.10/infrastructure-components.yaml
126+ type : " url"
127+ contract : v1alpha3
128+ files :
129+ - sourcePath : " ../../../test/e2e/data/infrastructure-vsphere/capi-upgrades/v1alpha3/cluster-template.yaml"
130+ - sourcePath : " ../../../metadata.yaml"
131+ - name : v0.8.1
132+ value : https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.8.1/infrastructure-components.yaml
133+ type : " url"
134+ contract : v1alpha4
135+ files :
136+ - sourcePath : " ../../../test/e2e/data/infrastructure-vsphere/capi-upgrades/v1alpha4/cluster-template.yaml"
137+ - sourcePath : " ../../../metadata.yaml"
76138 - name : v1.0.0
77139 # Use manifest from source files
78140 value : ../../../../cluster-api-provider-vsphere/config/default
141+ contract : v1beta1
79142 replacements :
80143 - old : gcr.io/cluster-api-provider-vsphere/release/manager:latest
81144 new : gcr.io/k8s-staging-cluster-api/capv-manager:e2e
82145 - old : " imagePullPolicy: Always"
83146 new : " imagePullPolicy: IfNotPresent"
84-
85- files :
86- # Add a cluster template
87- - sourcePath : " ../../../test/e2e/data/infrastructure-vsphere/cluster-template.yaml"
88- - sourcePath : " ../../../metadata.yaml"
147+ files :
148+ # Add a cluster template
149+ - sourcePath : " ../../../test/e2e/data/infrastructure-vsphere/cluster- template.yaml "
150+ - sourcePath : " ../../../test/e2e/data/infrastructure-vsphere/cluster-template-remote-management .yaml"
151+ - sourcePath : " ../../../metadata.yaml"
89152
90153variables :
91154 KUBERNETES_VERSION : " v1.19.1"
@@ -102,11 +165,14 @@ variables:
102165 VSPHERE_STORAGE_POLICY : " Cluster API vSphere Storage Policy"
103166 VSPHERE_NETWORK : " sddc-cgw-network-6"
104167 VSPHERE_TEMPLATE : " ubuntu-1804-kube-v1.19.1"
168+ INIT_WITH_BINARY_V1ALPHA3 : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/clusterctl-{OS}-{ARCH}"
169+ INIT_WITH_BINARY_V1ALPHA4 : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.4/clusterctl-{OS}-{ARCH}"
170+ INIT_WITH_KUBERNETES_VERSION : " v1.19.1"
105171
106172intervals :
107173 default/wait-controllers : ["5m", "10s"]
108174 default/wait-cluster : ["5m", "10s"]
109- default/wait-control-plane : ["5m ", "10s"]
110- default/wait-worker-nodes : ["5m ", "10s"]
175+ default/wait-control-plane : ["10m ", "10s"]
176+ default/wait-worker-nodes : ["10m ", "10s"]
111177 default/wait-delete-cluster : ["5m", "10s"]
112178 default/wait-machine-upgrade : ["15m", "1m"]
0 commit comments