Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Kubernetes 1.28 as min required version #4781

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/flux/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type checkFlags struct {
}

var kubernetesConstraints = []string{
">=1.26.0-0",
">=1.28.0-0",
}

var checkArgs checkFlags
Expand Down
2 changes: 1 addition & 1 deletion cmd/flux/testdata/check/check_pre.golden
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
► checking prerequisites
✔ Kubernetes {{ .serverVersion }} >=1.26.0-0
✔ Kubernetes {{ .serverVersion }} >=1.28.0-0
✔ prerequisites checks passed
Loading