Skip to content

Commit fbf2406

Browse files
Use k8s v1.27.0 in CAPD and tests
Signed-off by: Furkat Gofurov ([email protected])
1 parent 3f607b7 commit fbf2406

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

test/e2e/clusterctl_upgrade_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ var _ = Describe("When testing clusterctl upgrades (v1.4=>current)", func() {
209209
SkipCleanup: skipCleanup,
210210
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.0/clusterctl-{OS}-{ARCH}",
211211
InitWithProvidersContract: "v1beta1",
212-
InitWithKubernetesVersion: "v1.26.0",
212+
InitWithKubernetesVersion: "v1.27.0",
213213
MgmtFlavor: "topology",
214214
WorkloadFlavor: "",
215215
// This check ensures that ownerReference apiVersions are updated for all types after the upgrade.
@@ -237,7 +237,7 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.4=>cur
237237
SkipCleanup: skipCleanup,
238238
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.0/clusterctl-{OS}-{ARCH}",
239239
InitWithProvidersContract: "v1beta1",
240-
InitWithKubernetesVersion: "v1.26.0",
240+
InitWithKubernetesVersion: "v1.27.0",
241241
MgmtFlavor: "topology",
242242
WorkloadFlavor: "topology",
243243
// This check ensures that ownerReference apiVersions are updated for all types after the upgrade.

test/e2e/config/docker.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ variables:
323323
# allowing the same e2e config file to be re-used in different Prow jobs e.g. each one with a K8s version permutation.
324324
# The following Kubernetes versions should be the latest versions with already published kindest/node images.
325325
# This avoids building node images in the default case which improves the test duration significantly.
326-
KUBERNETES_VERSION_MANAGEMENT: "v1.26.0"
327-
KUBERNETES_VERSION: "v1.26.0"
328-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.25.3"
329-
KUBERNETES_VERSION_UPGRADE_TO: "v1.26.0"
330-
ETCD_VERSION_UPGRADE_TO: "3.5.6-0"
331-
COREDNS_VERSION_UPGRADE_TO: "v1.9.3"
326+
KUBERNETES_VERSION_MANAGEMENT: "v1.27.0"
327+
KUBERNETES_VERSION: "v1.27.0"
328+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.26.3"
329+
KUBERNETES_VERSION_UPGRADE_TO: "v1.27.0"
330+
ETCD_VERSION_UPGRADE_TO: "3.5.7-0"
331+
COREDNS_VERSION_UPGRADE_TO: "v1.10.1"
332332
DOCKER_SERVICE_DOMAIN: "cluster.local"
333333
IP_FAMILY: "IPv4"
334334
DOCKER_SERVICE_CIDRS: "10.128.0.0/12"

test/framework/bootstrap/kind_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
DefaultNodeImageRepository = "kindest/node"
3838

3939
// DefaultNodeImageVersion is the default Kubernetes version to be used for creating a kind cluster.
40-
DefaultNodeImageVersion = "v1.26.0"
40+
DefaultNodeImageVersion = "v1.27.0"
4141
)
4242

4343
// KindClusterOption is a NewKindClusterProvider option.

test/infrastructure/docker/examples/machine-pool.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
replicas: 1
38-
version: v1.26.0
38+
version: v1.27.0
3939
machineTemplate:
4040
infrastructureRef:
4141
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -80,7 +80,7 @@ spec:
8080
replicas: 2
8181
template:
8282
spec:
83-
version: v1.26.0
83+
version: v1.27.0
8484
clusterName: my-cluster
8585
bootstrap:
8686
configRef:

test/infrastructure/docker/examples/simple-cluster-ipv6.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
replicas: 1
38-
version: v1.26.0
38+
version: v1.27.0
3939
machineTemplate:
4040
infrastructureRef:
4141
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -90,7 +90,7 @@ spec:
9090
cluster.x-k8s.io/cluster-name: my-cluster
9191
template:
9292
spec:
93-
version: v1.26.0
93+
version: v1.27.0
9494
clusterName: my-cluster
9595
bootstrap:
9696
configRef:

test/infrastructure/docker/examples/simple-cluster-without-kcp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ metadata:
3232
name: controlplane-0
3333
namespace: default
3434
spec:
35-
version: v1.26.0
35+
version: v1.27.0
3636
clusterName: my-cluster
3737
bootstrap:
3838
configRef:
@@ -80,7 +80,7 @@ spec:
8080
cluster.x-k8s.io/cluster-name: my-cluster
8181
template:
8282
spec:
83-
version: v1.26.0
83+
version: v1.27.0
8484
clusterName: my-cluster
8585
bootstrap:
8686
configRef:

test/infrastructure/docker/examples/simple-cluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
replicas: 1
38-
version: v1.26.0
38+
version: v1.27.0
3939
machineTemplate:
4040
infrastructureRef:
4141
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -83,7 +83,7 @@ spec:
8383
cluster.x-k8s.io/cluster-name: my-cluster
8484
template:
8585
spec:
86-
version: v1.26.0
86+
version: v1.27.0
8787
clusterName: my-cluster
8888
bootstrap:
8989
configRef:

test/infrastructure/docker/internal/docker/machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import (
5050

5151
const (
5252
defaultImageName = "kindest/node"
53-
defaultImageTag = "v1.26.0"
53+
defaultImageTag = "v1.27.0"
5454
)
5555

5656
type nodeCreator interface {

0 commit comments

Comments
 (0)