Skip to content

Commit

Permalink
Merge pull request #4781 from fluxcd/drop-kubernetes-eol
Browse files Browse the repository at this point in the history
Set Kubernetes 1.28 as min required version
  • Loading branch information
stefanprodan authored May 10, 2024
2 parents 6552ced + 9ef9464 commit 070fa0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 070fa0f

Please sign in to comment.