Skip to content

Commit 31ee7f1

Browse files
✨ Bump e2e tests to kubernetes v1.31.0 (#3154)
* Bump e2e tests to kubernetes v1.31.0 * revert to CPI v1.31.0-rc.1 * fix flatcar image --------- Co-authored-by: Stefan Bueringer <[email protected]>
1 parent 4f8d638 commit 31ee7f1

File tree

13 files changed

+185
-224
lines changed

13 files changed

+185
-224
lines changed

internal/test/helpers/vcsim/model.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var (
3838
"ubuntu-2204-kube-v1.28.0",
3939
"ubuntu-2204-kube-v1.29.0",
4040
"ubuntu-2204-kube-v1.30.0",
41+
"ubuntu-2204-kube-v1.31.0",
4142
}
4243
)
4344

packaging/flavorgen/cloudprovider/cpi/cpi.yaml

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,25 @@ spec:
131131
vsphere-cpi-infra: daemonset
132132
spec:
133133
tolerations:
134-
- key: node.cloudprovider.kubernetes.io/uninitialized
135-
value: "true"
136-
effect: NoSchedule
137-
- key: node-role.kubernetes.io/master
138-
effect: NoSchedule
139-
operator: Exists
140-
- key: node-role.kubernetes.io/control-plane
141-
effect: NoSchedule
142-
operator: Exists
143-
- key: node.kubernetes.io/not-ready
144-
effect: NoSchedule
145-
operator: Exists
146-
- key: CriticalAddonsOnly
147-
effect: NoExecute
148-
operator: Exists
134+
- effect: NoSchedule
135+
key: node.cloudprovider.kubernetes.io/uninitialized
136+
value: "true"
137+
- effect: NoSchedule
138+
key: node-role.kubernetes.io/control-plane
139+
operator: Exists
140+
- effect: NoSchedule
141+
key: node.kubernetes.io/not-ready
142+
operator: Exists
143+
- effect: NoExecute
144+
key: CriticalAddonsOnly
145+
operator: Exists
146+
affinity:
147+
nodeAffinity:
148+
requiredDuringSchedulingIgnoredDuringExecution:
149+
nodeSelectorTerms:
150+
- matchExpressions:
151+
- key: node-role.kubernetes.io/control-plane
152+
operator: Exists
149153
securityContext:
150154
fsGroup: 1001
151155
runAsUser: 1001
@@ -155,7 +159,7 @@ spec:
155159
priorityClassName: system-node-critical
156160
containers:
157161
- name: vsphere-cpi
158-
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.0-rc.0
162+
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0
159163
imagePullPolicy: IfNotPresent
160164
args:
161165
- --cloud-provider=vsphere
@@ -169,16 +173,6 @@ spec:
169173
- name: vsphere-config-volume
170174
configMap:
171175
name: cloud-config
172-
affinity:
173-
nodeAffinity:
174-
requiredDuringSchedulingIgnoredDuringExecution:
175-
nodeSelectorTerms:
176-
- matchExpressions:
177-
- key: node-role.kubernetes.io/control-plane
178-
operator: Exists
179-
- matchExpressions:
180-
- key: node-role.kubernetes.io/master
181-
operator: Exists
182176
---
183177
# Source: vsphere-cpi/templates/role-binding.yaml
184178
apiVersion: v1

templates/cluster-template-external-loadbalancer.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,21 +1258,25 @@ data:
12581258
vsphere-cpi-infra: daemonset
12591259
spec:
12601260
tolerations:
1261-
- key: node.cloudprovider.kubernetes.io/uninitialized
1262-
value: "true"
1263-
effect: NoSchedule
1264-
- key: node-role.kubernetes.io/master
1265-
effect: NoSchedule
1266-
operator: Exists
1267-
- key: node-role.kubernetes.io/control-plane
1268-
effect: NoSchedule
1269-
operator: Exists
1270-
- key: node.kubernetes.io/not-ready
1271-
effect: NoSchedule
1272-
operator: Exists
1273-
- key: CriticalAddonsOnly
1274-
effect: NoExecute
1275-
operator: Exists
1261+
- effect: NoSchedule
1262+
key: node.cloudprovider.kubernetes.io/uninitialized
1263+
value: "true"
1264+
- effect: NoSchedule
1265+
key: node-role.kubernetes.io/control-plane
1266+
operator: Exists
1267+
- effect: NoSchedule
1268+
key: node.kubernetes.io/not-ready
1269+
operator: Exists
1270+
- effect: NoExecute
1271+
key: CriticalAddonsOnly
1272+
operator: Exists
1273+
affinity:
1274+
nodeAffinity:
1275+
requiredDuringSchedulingIgnoredDuringExecution:
1276+
nodeSelectorTerms:
1277+
- matchExpressions:
1278+
- key: node-role.kubernetes.io/control-plane
1279+
operator: Exists
12761280
securityContext:
12771281
fsGroup: 1001
12781282
runAsUser: 1001
@@ -1296,16 +1300,6 @@ data:
12961300
- name: vsphere-config-volume
12971301
configMap:
12981302
name: cloud-config
1299-
affinity:
1300-
nodeAffinity:
1301-
requiredDuringSchedulingIgnoredDuringExecution:
1302-
nodeSelectorTerms:
1303-
- matchExpressions:
1304-
- key: node-role.kubernetes.io/control-plane
1305-
operator: Exists
1306-
- matchExpressions:
1307-
- key: node-role.kubernetes.io/master
1308-
operator: Exists
13091303
---
13101304
apiVersion: rbac.authorization.k8s.io/v1
13111305
kind: RoleBinding

templates/cluster-template-ignition.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,21 +1478,25 @@ data:
14781478
vsphere-cpi-infra: daemonset
14791479
spec:
14801480
tolerations:
1481-
- key: node.cloudprovider.kubernetes.io/uninitialized
1482-
value: "true"
1483-
effect: NoSchedule
1484-
- key: node-role.kubernetes.io/master
1485-
effect: NoSchedule
1486-
operator: Exists
1487-
- key: node-role.kubernetes.io/control-plane
1488-
effect: NoSchedule
1489-
operator: Exists
1490-
- key: node.kubernetes.io/not-ready
1491-
effect: NoSchedule
1492-
operator: Exists
1493-
- key: CriticalAddonsOnly
1494-
effect: NoExecute
1495-
operator: Exists
1481+
- effect: NoSchedule
1482+
key: node.cloudprovider.kubernetes.io/uninitialized
1483+
value: "true"
1484+
- effect: NoSchedule
1485+
key: node-role.kubernetes.io/control-plane
1486+
operator: Exists
1487+
- effect: NoSchedule
1488+
key: node.kubernetes.io/not-ready
1489+
operator: Exists
1490+
- effect: NoExecute
1491+
key: CriticalAddonsOnly
1492+
operator: Exists
1493+
affinity:
1494+
nodeAffinity:
1495+
requiredDuringSchedulingIgnoredDuringExecution:
1496+
nodeSelectorTerms:
1497+
- matchExpressions:
1498+
- key: node-role.kubernetes.io/control-plane
1499+
operator: Exists
14961500
securityContext:
14971501
fsGroup: 1001
14981502
runAsUser: 1001
@@ -1516,16 +1520,6 @@ data:
15161520
- name: vsphere-config-volume
15171521
configMap:
15181522
name: cloud-config
1519-
affinity:
1520-
nodeAffinity:
1521-
requiredDuringSchedulingIgnoredDuringExecution:
1522-
nodeSelectorTerms:
1523-
- matchExpressions:
1524-
- key: node-role.kubernetes.io/control-plane
1525-
operator: Exists
1526-
- matchExpressions:
1527-
- key: node-role.kubernetes.io/master
1528-
operator: Exists
15291523
---
15301524
apiVersion: rbac.authorization.k8s.io/v1
15311525
kind: RoleBinding

templates/cluster-template-node-ipam.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,21 +1393,25 @@ data:
13931393
vsphere-cpi-infra: daemonset
13941394
spec:
13951395
tolerations:
1396-
- key: node.cloudprovider.kubernetes.io/uninitialized
1397-
value: "true"
1398-
effect: NoSchedule
1399-
- key: node-role.kubernetes.io/master
1400-
effect: NoSchedule
1401-
operator: Exists
1402-
- key: node-role.kubernetes.io/control-plane
1403-
effect: NoSchedule
1404-
operator: Exists
1405-
- key: node.kubernetes.io/not-ready
1406-
effect: NoSchedule
1407-
operator: Exists
1408-
- key: CriticalAddonsOnly
1409-
effect: NoExecute
1410-
operator: Exists
1396+
- effect: NoSchedule
1397+
key: node.cloudprovider.kubernetes.io/uninitialized
1398+
value: "true"
1399+
- effect: NoSchedule
1400+
key: node-role.kubernetes.io/control-plane
1401+
operator: Exists
1402+
- effect: NoSchedule
1403+
key: node.kubernetes.io/not-ready
1404+
operator: Exists
1405+
- effect: NoExecute
1406+
key: CriticalAddonsOnly
1407+
operator: Exists
1408+
affinity:
1409+
nodeAffinity:
1410+
requiredDuringSchedulingIgnoredDuringExecution:
1411+
nodeSelectorTerms:
1412+
- matchExpressions:
1413+
- key: node-role.kubernetes.io/control-plane
1414+
operator: Exists
14111415
securityContext:
14121416
fsGroup: 1001
14131417
runAsUser: 1001
@@ -1431,16 +1435,6 @@ data:
14311435
- name: vsphere-config-volume
14321436
configMap:
14331437
name: cloud-config
1434-
affinity:
1435-
nodeAffinity:
1436-
requiredDuringSchedulingIgnoredDuringExecution:
1437-
nodeSelectorTerms:
1438-
- matchExpressions:
1439-
- key: node-role.kubernetes.io/control-plane
1440-
operator: Exists
1441-
- matchExpressions:
1442-
- key: node-role.kubernetes.io/master
1443-
operator: Exists
14441438
---
14451439
apiVersion: rbac.authorization.k8s.io/v1
14461440
kind: RoleBinding

templates/cluster-template-supervisor.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,21 +1343,25 @@ data:
13431343
vsphere-cpi-infra: daemonset
13441344
spec:
13451345
tolerations:
1346-
- key: node.cloudprovider.kubernetes.io/uninitialized
1347-
value: "true"
1348-
effect: NoSchedule
1349-
- key: node-role.kubernetes.io/master
1350-
effect: NoSchedule
1351-
operator: Exists
1352-
- key: node-role.kubernetes.io/control-plane
1353-
effect: NoSchedule
1354-
operator: Exists
1355-
- key: node.kubernetes.io/not-ready
1356-
effect: NoSchedule
1357-
operator: Exists
1358-
- key: CriticalAddonsOnly
1359-
effect: NoExecute
1360-
operator: Exists
1346+
- effect: NoSchedule
1347+
key: node.cloudprovider.kubernetes.io/uninitialized
1348+
value: "true"
1349+
- effect: NoSchedule
1350+
key: node-role.kubernetes.io/control-plane
1351+
operator: Exists
1352+
- effect: NoSchedule
1353+
key: node.kubernetes.io/not-ready
1354+
operator: Exists
1355+
- effect: NoExecute
1356+
key: CriticalAddonsOnly
1357+
operator: Exists
1358+
affinity:
1359+
nodeAffinity:
1360+
requiredDuringSchedulingIgnoredDuringExecution:
1361+
nodeSelectorTerms:
1362+
- matchExpressions:
1363+
- key: node-role.kubernetes.io/control-plane
1364+
operator: Exists
13611365
securityContext:
13621366
fsGroup: 1001
13631367
runAsUser: 1001
@@ -1381,16 +1385,6 @@ data:
13811385
- name: vsphere-config-volume
13821386
configMap:
13831387
name: cloud-config
1384-
affinity:
1385-
nodeAffinity:
1386-
requiredDuringSchedulingIgnoredDuringExecution:
1387-
nodeSelectorTerms:
1388-
- matchExpressions:
1389-
- key: node-role.kubernetes.io/control-plane
1390-
operator: Exists
1391-
- matchExpressions:
1392-
- key: node-role.kubernetes.io/master
1393-
operator: Exists
13941388
---
13951389
apiVersion: rbac.authorization.k8s.io/v1
13961390
kind: RoleBinding

templates/cluster-template-topology-supervisor.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,21 +1151,25 @@ data:
11511151
vsphere-cpi-infra: daemonset
11521152
spec:
11531153
tolerations:
1154-
- key: node.cloudprovider.kubernetes.io/uninitialized
1155-
value: "true"
1156-
effect: NoSchedule
1157-
- key: node-role.kubernetes.io/master
1158-
effect: NoSchedule
1159-
operator: Exists
1160-
- key: node-role.kubernetes.io/control-plane
1161-
effect: NoSchedule
1162-
operator: Exists
1163-
- key: node.kubernetes.io/not-ready
1164-
effect: NoSchedule
1165-
operator: Exists
1166-
- key: CriticalAddonsOnly
1167-
effect: NoExecute
1168-
operator: Exists
1154+
- effect: NoSchedule
1155+
key: node.cloudprovider.kubernetes.io/uninitialized
1156+
value: "true"
1157+
- effect: NoSchedule
1158+
key: node-role.kubernetes.io/control-plane
1159+
operator: Exists
1160+
- effect: NoSchedule
1161+
key: node.kubernetes.io/not-ready
1162+
operator: Exists
1163+
- effect: NoExecute
1164+
key: CriticalAddonsOnly
1165+
operator: Exists
1166+
affinity:
1167+
nodeAffinity:
1168+
requiredDuringSchedulingIgnoredDuringExecution:
1169+
nodeSelectorTerms:
1170+
- matchExpressions:
1171+
- key: node-role.kubernetes.io/control-plane
1172+
operator: Exists
11691173
securityContext:
11701174
fsGroup: 1001
11711175
runAsUser: 1001
@@ -1189,16 +1193,6 @@ data:
11891193
- name: vsphere-config-volume
11901194
configMap:
11911195
name: cloud-config
1192-
affinity:
1193-
nodeAffinity:
1194-
requiredDuringSchedulingIgnoredDuringExecution:
1195-
nodeSelectorTerms:
1196-
- matchExpressions:
1197-
- key: node-role.kubernetes.io/control-plane
1198-
operator: Exists
1199-
- matchExpressions:
1200-
- key: node-role.kubernetes.io/master
1201-
operator: Exists
12021196
---
12031197
apiVersion: rbac.authorization.k8s.io/v1
12041198
kind: RoleBinding

0 commit comments

Comments
 (0)