33# - cluster-api
44# - bootstrap k0smotron
55# - control-plane k0smotron
6- # - infrastructure docker
6+ # - infrastructure docker, aws, k0sproject-k0smotron
77images :
88 - name : quay.io/k0sproject/k0smotron:latest
99 loadBehavior : mustLoad
@@ -17,10 +17,31 @@ providers:
1717 type : url
1818 contract : v1beta1
1919 files :
20- - sourcePath : " .. /data/shared/v1beta1/metadata.yaml"
20+ - sourcePath : " ./data/shared/v1beta1/metadata.yaml"
2121 replacements :
2222 - old : " imagePullPolicy: Always"
2323 new : " imagePullPolicy: IfNotPresent"
24+ - name : k0sproject-k0smotron
25+ type : InfrastructureProvider
26+ versions :
27+ - name : v1.9.99 # potentially next release. Manifest from source files (development) are used.
28+ value : ../config/default
29+ contract : v1beta1
30+ files :
31+ - sourcePath : " ../metadata.yaml"
32+ replacements :
33+ - old : " imagePullPolicy: Always"
34+ new : " imagePullPolicy: IfNotPresent"
35+ - old : " image: k0s/k0smotron:latest"
36+ new : " image: quay.io/k0sproject/k0smotron:latest" # For local testing, this image needs to be built before run e2e by using `make docker-build`
37+ files :
38+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template.yaml"
39+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-kcp-remediation.yaml"
40+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-webhook-recreate-in-single-mode.yaml"
41+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-webhook-k0s-not-compatible.yaml"
42+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-machinedeployment.yaml"
43+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-remote-hcp.yaml"
44+ - sourcePath : " ./data/infrastructure-k0smotron/main/cluster-template-ingress.yaml"
2445 - name : docker
2546 type : InfrastructureProvider
2647 versions :
@@ -29,18 +50,32 @@ providers:
2950 type : url
3051 contract : v1beta1
3152 files :
32- - sourcePath : " ../data/shared/v1beta1/metadata.yaml"
53+ - sourcePath : " ./data/shared/v1beta1/metadata.yaml"
54+ replacements :
55+ - old : " imagePullPolicy: Always"
56+ new : " imagePullPolicy: IfNotPresent"
57+ files :
58+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template.yaml"
59+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-kcp-remediation.yaml"
60+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-webhook-recreate-in-single-mode.yaml"
61+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-webhook-k0s-not-compatible.yaml"
62+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-machinedeployment.yaml"
63+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-remote-hcp.yaml"
64+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-ingress.yaml"
65+ - name : aws
66+ type : InfrastructureProvider
67+ versions :
68+ - name : v2.9.0
69+ value : " https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases/download/v2.9.0/infrastructure-components.yaml"
70+ type : url
71+ contract : v1beta1
72+ files :
73+ - sourcePath : " .data.yaml"
3374 replacements :
3475 - old : " imagePullPolicy: Always"
3576 new : " imagePullPolicy: IfNotPresent"
3677 files :
37- - sourcePath : " ../data/infrastructure-docker/main/cluster-template.yaml"
38- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-kcp-remediation.yaml"
39- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-webhook-recreate-in-single-mode.yaml"
40- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-webhook-k0s-not-compatible.yaml"
41- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-machinedeployment.yaml"
42- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-remote-hcp.yaml"
43- - sourcePath : " ../data/infrastructure-docker/main/cluster-template-ingress.yaml"
78+ - sourcePath : " ./data/infrastructure-aws/cluster-template-ignition.yaml"
4479 - name : k0sproject-k0smotron
4580 type : ControlPlaneProvider
4681 versions :
@@ -49,7 +84,7 @@ providers:
4984 type : url
5085 contract : v1beta1
5186 files :
52- - sourcePath : " ../../ metadata.yaml"
87+ - sourcePath : " ../metadata.yaml"
5388 replacements :
5489 - old : " imagePullPolicy: Always"
5590 new : " imagePullPolicy: IfNotPresent"
@@ -58,7 +93,7 @@ providers:
5893 type : url
5994 contract : v1beta1
6095 files :
61- - sourcePath : " ../../ metadata.yaml"
96+ - sourcePath : " ../metadata.yaml"
6297 replacements :
6398 - old : " imagePullPolicy: Always"
6499 new : " imagePullPolicy: IfNotPresent"
@@ -67,7 +102,7 @@ providers:
67102 type : url
68103 contract : v1beta1
69104 files :
70- - sourcePath : " ../../ metadata.yaml"
105+ - sourcePath : " ../metadata.yaml"
71106 replacements :
72107 - old : " imagePullPolicy: Always"
73108 new : " imagePullPolicy: IfNotPresent"
@@ -76,7 +111,7 @@ providers:
76111 type : url
77112 contract : v1beta1
78113 files :
79- - sourcePath : " ../../ metadata.yaml"
114+ - sourcePath : " ../metadata.yaml"
80115 replacements :
81116 - old : " imagePullPolicy: Always"
82117 new : " imagePullPolicy: IfNotPresent"
@@ -85,15 +120,15 @@ providers:
85120 type : url
86121 contract : v1beta1
87122 files :
88- - sourcePath : " ../../ metadata.yaml"
123+ - sourcePath : " ../metadata.yaml"
89124 replacements :
90125 - old : " imagePullPolicy: Always"
91126 new : " imagePullPolicy: IfNotPresent"
92127 - name : v1.9.99 # potentially next release. Manifest from source files (development) are used.
93- value : ../../ config/default
128+ value : ../config/default
94129 contract : v1beta1
95130 files :
96- - sourcePath : " ../../ metadata.yaml"
131+ - sourcePath : " ../metadata.yaml"
97132 replacements :
98133 - old : " imagePullPolicy: Always"
99134 new : " imagePullPolicy: IfNotPresent"
@@ -107,7 +142,7 @@ providers:
107142 type : url
108143 contract : v1beta1
109144 files :
110- - sourcePath : " ../../ metadata.yaml"
145+ - sourcePath : " ../metadata.yaml"
111146 replacements :
112147 - old : " imagePullPolicy: Always"
113148 new : " imagePullPolicy: IfNotPresent"
@@ -116,7 +151,7 @@ providers:
116151 type : url
117152 contract : v1beta1
118153 files :
119- - sourcePath : " ../../ metadata.yaml"
154+ - sourcePath : " ../metadata.yaml"
120155 replacements :
121156 - old : " imagePullPolicy: Always"
122157 new : " imagePullPolicy: IfNotPresent"
@@ -125,7 +160,7 @@ providers:
125160 type : url
126161 contract : v1beta1
127162 files :
128- - sourcePath : " ../../ metadata.yaml"
163+ - sourcePath : " ../metadata.yaml"
129164 replacements :
130165 - old : " imagePullPolicy: Always"
131166 new : " imagePullPolicy: IfNotPresent"
@@ -134,7 +169,7 @@ providers:
134169 type : url
135170 contract : v1beta1
136171 files :
137- - sourcePath : " ../../ metadata.yaml"
172+ - sourcePath : " ../metadata.yaml"
138173 replacements :
139174 - old : " imagePullPolicy: Always"
140175 new : " imagePullPolicy: IfNotPresent"
@@ -143,15 +178,15 @@ providers:
143178 type : url
144179 contract : v1beta1
145180 files :
146- - sourcePath : " ../../ metadata.yaml"
181+ - sourcePath : " ../metadata.yaml"
147182 replacements :
148183 - old : " imagePullPolicy: Always"
149184 new : " imagePullPolicy: IfNotPresent"
150185 - name : v1.9.99 # potentially next release. Manifest from source files (development) are used.
151- value : ../../ config/default
186+ value : ../config/default
152187 contract : v1beta1
153188 files :
154- - sourcePath : " ../../ metadata.yaml"
189+ - sourcePath : " ../metadata.yaml"
155190 replacements :
156191 - old : " imagePullPolicy: Always"
157192 new : " imagePullPolicy: IfNotPresent"
@@ -161,8 +196,9 @@ providers:
161196variables :
162197 KUBERNETES_VERSION_MANAGEMENT : " v1.30.0"
163198 KUBERNETES_VERSION : " v1.31.0"
164- KUBERNETES_VERSION_FIRST_UPGRADE_TO : " v1.30.2+k0s.0"
165- KUBERNETES_VERSION_SECOND_UPGRADE_TO : " v1.31.2+k0s.0"
199+ K0S_VERSION : " v1.30.1+k0s.0"
200+ K0S_VERSION_FIRST_UPGRADE_TO : " v1.30.2+k0s.0"
201+ K0S_VERSION_SECOND_UPGRADE_TO : " v1.31.2+k0s.0"
166202 IP_FAMILY : " IPv4"
167203 KIND_IMAGE_VERSION : " v1.30.0"
168204 # Enabling the feature flags by setting the env variables.
@@ -183,7 +219,6 @@ intervals:
183219 default/wait-nodes-ready : ["10m", "10s"]
184220 default/wait-machine-remediation : ["5m", "10s"]
185221 default/wait-autoscaler : ["5m", "10s"]
186- ingress/wait-controllers : ["5m", "10s"]
187222 remote-hcp/wait-controllers : ["5m", "10s"]
188223 bootstrap/wait-deployment-available : ["3m", "10s"]
189224 node-drain/wait-deployment-available : ["3m", "10s"]
@@ -193,6 +228,7 @@ intervals:
193228 workload-recreate-upgrade/wait-cluster : ["10m", "10s"]
194229 workload-recreate-upgrade/wait-control-plane : ["20m", "10s"]
195230 workload-recreate-upgrade/wait-worker-nodes : ["20m", "10s"]
231+ workload-inplace-upgrade/wait-controllers : ["10m", "20s"]
196232 workload-inplace-upgrade/wait-cluster : ["10m", "10s"]
197233 workload-inplace-upgrade/wait-control-plane : ["20m", "10s"]
198234 workload-inplace-upgrade/wait-worker-nodes : ["20m", "10s"]
0 commit comments