diff --git a/Dockerfile b/Dockerfile index 9b66c043cf..c918f4b064 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3.19 as builder RUN apk add --no-cache ca-certificates curl ARG ARCH=linux/amd64 -ARG KUBECTL_VER=1.28.6 +ARG KUBECTL_VER=1.30.0 RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VER}/bin/${ARCH}/kubectl \ -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl && \ diff --git a/cmd/flux/check.go b/cmd/flux/check.go index 6159e3efd3..b710894160 100644 --- a/cmd/flux/check.go +++ b/cmd/flux/check.go @@ -60,7 +60,7 @@ type checkFlags struct { } var kubernetesConstraints = []string{ - ">=1.26.0-0", + ">=1.28.0-0", } var checkArgs checkFlags diff --git a/cmd/flux/testdata/check/check_pre.golden b/cmd/flux/testdata/check/check_pre.golden index 9b097d1e45..312f6861ab 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.26.0-0 +✔ Kubernetes {{ .serverVersion }} >=1.28.0-0 ✔ prerequisites checks passed