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,25 @@ 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"
2439 - name : docker
2540 type : InfrastructureProvider
2641 versions :
@@ -29,18 +44,31 @@ providers:
2944 type : url
3045 contract : v1beta1
3146 files :
32- - sourcePath : " ../data/shared/v1beta1/metadata.yaml"
47+ - sourcePath : " ./data/shared/v1beta1/metadata.yaml"
48+ replacements :
49+ - old : " imagePullPolicy: Always"
50+ new : " imagePullPolicy: IfNotPresent"
51+ files :
52+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template.yaml"
53+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-kcp-remediation.yaml"
54+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-webhook-recreate-in-single-mode.yaml"
55+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-webhook-k0s-not-compatible.yaml"
56+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-machinedeployment.yaml"
57+ - sourcePath : " ./data/infrastructure-docker/main/cluster-template-remote-hcp.yaml"
58+ - name : aws
59+ type : InfrastructureProvider
60+ versions :
61+ - name : v2.9.0
62+ value : " https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases/download/v2.9.0/infrastructure-components.yaml"
63+ type : url
64+ contract : v1beta1
65+ files :
66+ - sourcePath : " .data.yaml"
3367 replacements :
3468 - old : " imagePullPolicy: Always"
3569 new : " imagePullPolicy: IfNotPresent"
3670 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"
71+ - sourcePath : " ./data/infrastructure-aws/cluster-template-ignition.yaml"
4472 - name : k0sproject-k0smotron
4573 type : ControlPlaneProvider
4674 versions :
@@ -49,7 +77,7 @@ providers:
4977 type : url
5078 contract : v1beta1
5179 files :
52- - sourcePath : " ../../ metadata.yaml"
80+ - sourcePath : " ../metadata.yaml"
5381 replacements :
5482 - old : " imagePullPolicy: Always"
5583 new : " imagePullPolicy: IfNotPresent"
@@ -58,7 +86,7 @@ providers:
5886 type : url
5987 contract : v1beta1
6088 files :
61- - sourcePath : " ../../ metadata.yaml"
89+ - sourcePath : " ../metadata.yaml"
6290 replacements :
6391 - old : " imagePullPolicy: Always"
6492 new : " imagePullPolicy: IfNotPresent"
@@ -67,7 +95,7 @@ providers:
6795 type : url
6896 contract : v1beta1
6997 files :
70- - sourcePath : " ../../ metadata.yaml"
98+ - sourcePath : " ../metadata.yaml"
7199 replacements :
72100 - old : " imagePullPolicy: Always"
73101 new : " imagePullPolicy: IfNotPresent"
@@ -76,7 +104,7 @@ providers:
76104 type : url
77105 contract : v1beta1
78106 files :
79- - sourcePath : " ../../ metadata.yaml"
107+ - sourcePath : " ../metadata.yaml"
80108 replacements :
81109 - old : " imagePullPolicy: Always"
82110 new : " imagePullPolicy: IfNotPresent"
@@ -85,15 +113,15 @@ providers:
85113 type : url
86114 contract : v1beta1
87115 files :
88- - sourcePath : " ../../ metadata.yaml"
116+ - sourcePath : " ../metadata.yaml"
89117 replacements :
90118 - old : " imagePullPolicy: Always"
91119 new : " imagePullPolicy: IfNotPresent"
92120 - name : v1.9.99 # potentially next release. Manifest from source files (development) are used.
93- value : ../../ config/default
121+ value : ../config/default
94122 contract : v1beta1
95123 files :
96- - sourcePath : " ../../ metadata.yaml"
124+ - sourcePath : " ../metadata.yaml"
97125 replacements :
98126 - old : " imagePullPolicy: Always"
99127 new : " imagePullPolicy: IfNotPresent"
@@ -107,7 +135,7 @@ providers:
107135 type : url
108136 contract : v1beta1
109137 files :
110- - sourcePath : " ../../ metadata.yaml"
138+ - sourcePath : " ../metadata.yaml"
111139 replacements :
112140 - old : " imagePullPolicy: Always"
113141 new : " imagePullPolicy: IfNotPresent"
@@ -116,7 +144,7 @@ providers:
116144 type : url
117145 contract : v1beta1
118146 files :
119- - sourcePath : " ../../ metadata.yaml"
147+ - sourcePath : " ../metadata.yaml"
120148 replacements :
121149 - old : " imagePullPolicy: Always"
122150 new : " imagePullPolicy: IfNotPresent"
@@ -125,7 +153,7 @@ providers:
125153 type : url
126154 contract : v1beta1
127155 files :
128- - sourcePath : " ../../ metadata.yaml"
156+ - sourcePath : " ../metadata.yaml"
129157 replacements :
130158 - old : " imagePullPolicy: Always"
131159 new : " imagePullPolicy: IfNotPresent"
@@ -134,7 +162,7 @@ providers:
134162 type : url
135163 contract : v1beta1
136164 files :
137- - sourcePath : " ../../ metadata.yaml"
165+ - sourcePath : " ../metadata.yaml"
138166 replacements :
139167 - old : " imagePullPolicy: Always"
140168 new : " imagePullPolicy: IfNotPresent"
@@ -143,15 +171,15 @@ providers:
143171 type : url
144172 contract : v1beta1
145173 files :
146- - sourcePath : " ../../ metadata.yaml"
174+ - sourcePath : " ../metadata.yaml"
147175 replacements :
148176 - old : " imagePullPolicy: Always"
149177 new : " imagePullPolicy: IfNotPresent"
150178 - name : v1.9.99 # potentially next release. Manifest from source files (development) are used.
151- value : ../../ config/default
179+ value : ../config/default
152180 contract : v1beta1
153181 files :
154- - sourcePath : " ../../ metadata.yaml"
182+ - sourcePath : " ../metadata.yaml"
155183 replacements :
156184 - old : " imagePullPolicy: Always"
157185 new : " imagePullPolicy: IfNotPresent"
@@ -161,8 +189,9 @@ providers:
161189variables :
162190 KUBERNETES_VERSION_MANAGEMENT : " v1.30.0"
163191 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"
192+ K0S_VERSION : " v1.30.1+k0s.0"
193+ K0S_VERSION_FIRST_UPGRADE_TO : " v1.30.2+k0s.0"
194+ K0S_VERSION_SECOND_UPGRADE_TO : " v1.31.2+k0s.0"
166195 IP_FAMILY : " IPv4"
167196 KIND_IMAGE_VERSION : " v1.30.0"
168197 # Enabling the feature flags by setting the env variables.
@@ -183,7 +212,6 @@ intervals:
183212 default/wait-nodes-ready : ["10m", "10s"]
184213 default/wait-machine-remediation : ["5m", "10s"]
185214 default/wait-autoscaler : ["5m", "10s"]
186- ingress/wait-controllers : ["5m", "10s"]
187215 remote-hcp/wait-controllers : ["5m", "10s"]
188216 bootstrap/wait-deployment-available : ["3m", "10s"]
189217 node-drain/wait-deployment-available : ["3m", "10s"]
@@ -193,6 +221,7 @@ intervals:
193221 workload-recreate-upgrade/wait-cluster : ["10m", "10s"]
194222 workload-recreate-upgrade/wait-control-plane : ["20m", "10s"]
195223 workload-recreate-upgrade/wait-worker-nodes : ["20m", "10s"]
224+ workload-inplace-upgrade/wait-controllers : ["10m", "20s"]
196225 workload-inplace-upgrade/wait-cluster : ["10m", "10s"]
197226 workload-inplace-upgrade/wait-control-plane : ["20m", "10s"]
198227 workload-inplace-upgrade/wait-worker-nodes : ["20m", "10s"]
0 commit comments