From 14da7d58be2f61eac70e206bfa040707676354e6 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 20 Feb 2025 14:41:49 +0200 Subject: [PATCH] Update Kubernetes min supported version to 1.30 Signed-off-by: Stefan Prodan --- .github/workflows/e2e.yaml | 4 ++-- cmd/flux/check.go | 2 +- cmd/flux/testdata/check/check_pre.golden | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 22fe4b7b23..1472189e77 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -40,8 +40,8 @@ jobs: config: .github/kind/config.yaml # disable KIND-net # The versions below should target the oldest supported Kubernetes version # Keep this up-to-date with https://endoflife.date/kubernetes - node_image: ghcr.io/fluxcd/kindest/node:v1.29.7-amd64 - kubectl_version: v1.29.7 + node_image: ghcr.io/fluxcd/kindest/node:v1.30.9-amd64 + kubectl_version: v1.30.9 - name: Setup Calico for network policy run: | kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/calico.yaml diff --git a/cmd/flux/check.go b/cmd/flux/check.go index b710894160..0ac0859bc5 100644 --- a/cmd/flux/check.go +++ b/cmd/flux/check.go @@ -60,7 +60,7 @@ type checkFlags struct { } var kubernetesConstraints = []string{ - ">=1.28.0-0", + ">=1.30.0-0", } var checkArgs checkFlags diff --git a/cmd/flux/testdata/check/check_pre.golden b/cmd/flux/testdata/check/check_pre.golden index 312f6861ab..cb83e9dc20 100644 --- a/cmd/flux/testdata/check/check_pre.golden +++ b/cmd/flux/testdata/check/check_pre.golden @@ -1,3 +1,3 @@ ► checking prerequisites -✔ Kubernetes {{ .serverVersion }} >=1.28.0-0 +✔ Kubernetes {{ .serverVersion }} >=1.30.0-0 ✔ prerequisites checks passed