From d29f1c062fb392187f86023125112e9cf2c6fda4 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 8 Mar 2023 20:22:22 +0100 Subject: [PATCH] build: update Kubernetes versions in e2e workflows Signed-off-by: Hidde Beydals --- .github/workflows/e2e-arm64.yaml | 2 +- .github/workflows/e2e-bootstrap.yaml | 5 ++++- .github/workflows/e2e.yaml | 7 +++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-arm64.yaml b/.github/workflows/e2e-arm64.yaml index fb877123..18fb7cdc 100644 --- a/.github/workflows/e2e-arm64.yaml +++ b/.github/workflows/e2e-arm64.yaml @@ -16,7 +16,7 @@ jobs: strategy: matrix: # Keep this list up-to-date with https://endoflife.date/kubernetes - KUBERNETES_VERSION: [ 1.23.13, 1.24.7, 1.25.3 ] + KUBERNETES_VERSION: [ 1.24.11, 1.25.7, 1.26.2 ] steps: - name: Checkout uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 diff --git a/.github/workflows/e2e-bootstrap.yaml b/.github/workflows/e2e-bootstrap.yaml index 6626e8ad..f36f52a8 100644 --- a/.github/workflows/e2e-bootstrap.yaml +++ b/.github/workflows/e2e-bootstrap.yaml @@ -33,7 +33,10 @@ jobs: with: version: v0.17.0 cluster_name: kind - node_image: kindest/node:v1.25.2 + # The versions below should target the newest Kubernetes version + # Keep this up-to-date with https://endoflife.date/kubernetes + node_image: kindest/node:v1.26.0 + kubectl_version: v1.26.2 - name: Setup Kustomize uses: fluxcd/pkg/actions/kustomize@main - name: Build diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b98dcd74..4e336cd6 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -38,10 +38,13 @@ jobs: version: v0.17.0 cluster_name: kind config: .github/kind/config.yaml # disable KIND-net - node_image: kindest/node:v1.23.13 + # The versions below should target the newest Kubernetes version + # Keep this up-to-date with https://endoflife.date/kubernetes + node_image: kindest/node:v1.26.0 + kubectl_version: v1.26.2 - name: Setup Calico for network policy run: | - kubectl apply -f https://docs.projectcalico.org/v3.20/manifests/calico.yaml + kubectl apply -f https://docs.projectcalico.org/v3.25/manifests/calico.yaml kubectl -n kube-system set env daemonset/calico-node FELIX_IGNORELOOSERPF=true - name: Setup Kustomize uses: fluxcd/pkg/actions/kustomize@main