Skip to content

Commit

Permalink
Update minimum kubernetes version to 1.28.0, run tests on latest patc…
Browse files Browse the repository at this point in the history
…h of that version: v1.28.9

Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Jul 25, 2024
1 parent 5a6fa65 commit 9d5369a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kubernetes-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ jobs:
# Runs a set of commands using the runners shell
- name: Deploy a MinIO Tenant on Kind
run: |
curl -sLO "https://dl.k8s.io/release/v1.23.1/bin/linux/amd64/kubectl" -o kubectl
curl -sLO "https://dl.k8s.io/release/v1.28.12/bin/linux/amd64/kubectl" -o kubectl
chmod +x kubectl
mv kubectl /usr/local/bin
"${GITHUB_WORKSPACE}/testing/check-helm.sh"
Expand Down Expand Up @@ -518,7 +518,7 @@ jobs:
env:
TEST_FLOOR: true
run: |
curl -sLO "https://dl.k8s.io/release/v1.23.1/bin/linux/amd64/kubectl" -o kubectl
curl -sLO "https://dl.k8s.io/release/v1.28.12/bin/linux/amd64/kubectl" -o kubectl
chmod +x kubectl
mv kubectl /usr/local/bin
"${GITHUB_WORKSPACE}/testing/check-helm.sh"
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,11 @@ a Kubernetes cluster.

## Prerequisites

### Kubernetes 1.21 or Later
### Kubernetes 1.28.0 or Later

Starting with Operator v5.0.0, MinIO requires Kubernetes version 1.21.0 or later. You must upgrade your Kubernetes
cluster to 1.21.0 or later to use Operator
v5.0.0+.

Starting with Operator v4.0.0, MinIO requires Kubernetes version 1.19.0 or later. Previous versions of the Operator
supported Kubernetes 1.17.0 or later. You must upgrade your Kubernetes cluster to 1.19.0 or later to use Operator
v4.0.0+.
Starting with Operator v6.0.0, MinIO requires Kubernetes version 1.28.0 or later. You must upgrade your Kubernetes
cluster to 1.28.0 or later to use Operator
v6.0.0+.

This procedure assumes the host machine has [`kubectl`](https://kubernetes.io/docs/tasks/tools) installed and configured
with access to the target Kubernetes cluster.
Expand Down
2 changes: 1 addition & 1 deletion docs/notes/v6.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MinIO Operator is the recommended production-ready way to manage MinIO deploymen

## What’s new?

Operator 6.0.0 is now available. This release requires Kubernetes version 1.25.0 or later. If your cluster does not use Kubernetes version 1.25.0 or later, you must upgrade your cluster to before installing or upgrading to Operator v6.0.0+.
Operator 6.0.0 is now available. This release requires Kubernetes version 1.28.0 or later. If your cluster does not use Kubernetes version 1.28.0 or later, you must upgrade your cluster to before installing or upgrading to Operator v6.0.0+.

* Introducing MinIO Job
* Sidecar container
Expand Down
2 changes: 1 addition & 1 deletion testing/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DEV_TEST=$OPERATOR_DEV_TEST
# Set OPERATOR_DEV_TEST to skip downloading these dependencies
if [[ -z "${DEV_TEST}" ]]; then
## Make sure to install things if not present already
sudo curl -#L "https://dl.k8s.io/release/v1.23.1/bin/$OS/$ARCH/kubectl" -o /usr/local/bin/kubectl
sudo curl -#L "https://dl.k8s.io/release/v1.28.12/bin/$OS/$ARCH/kubectl" -o /usr/local/bin/kubectl
sudo chmod +x /usr/local/bin/kubectl

sudo curl -#L "https://dl.min.io/client/mc/release/${OS}-${ARCH}/mc" -o /usr/local/bin/mc
Expand Down
10 changes: 5 additions & 5 deletions testing/kind-config-floor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: kindest/node:v1.26.14
image: kindest/node:v1.28.9
- role: worker
image: kindest/node:v1.26.14
image: kindest/node:v1.28.9
- role: worker
image: kindest/node:v1.26.14
image: kindest/node:v1.28.9
- role: worker
image: kindest/node:v1.26.14
image: kindest/node:v1.28.9
- role: worker
image: kindest/node:v1.26.14
image: kindest/node:v1.28.9

0 comments on commit 9d5369a

Please sign in to comment.