Skip to content

Commit

Permalink
Merge pull request #4020 from fluxcd/min-kube-1.24
Browse files Browse the repository at this point in the history
Set minimum supported version to Kubernetes 1.24.0
  • Loading branch information
stefanprodan committed Jun 28, 2023
2 parents 224e808 + db0256e commit 2fe86a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ for source changes.
Prerequisites:

* go >= 1.20
* kubectl >= 1.20
* kustomize >= 4.4
* kubectl >= 1.24
* kustomize >= 5.0
* coreutils (on Mac OS)

Install the [controller-runtime/envtest](https://github.com/kubernetes-sigs/controller-runtime/tree/master/tools/setup-envtest) binaries with:
Expand Down
2 changes: 1 addition & 1 deletion cmd/flux/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type checkFlags struct {
}

var kubernetesConstraints = []string{
">=1.20.6-0",
">=1.24.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.20.6-0
✔ Kubernetes {{ .serverVersion }} >=1.24.0-0
✔ prerequisites checks passed

0 comments on commit 2fe86a4

Please sign in to comment.