Skip to content

Commit

Permalink
Automated MinIO version update RELEASE.2024-02-04T22-36-13Z (#5066)
Browse files Browse the repository at this point in the history
* Create new minio version

* remove unreleased prior version of minio

---------

Co-authored-by: emosbaugh <[email protected]>
Co-authored-by: Andrew Lavery <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent eca51e1 commit 622fcc3
Show file tree
Hide file tree
Showing 24 changed files with 11 additions and 11 deletions.
1 change: 0 additions & 1 deletion addons/minio/2024-01-31T20-20-33Z/Manifest

This file was deleted.

1 change: 1 addition & 0 deletions addons/minio/2024-02-04T22-36-13Z/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
image minio minio/minio:RELEASE.2024-02-04T22-36-13Z
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- name: data
mountPath: "/data"
# Pulls the lastest Minio image from Docker Hub
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
image: minio/minio:RELEASE.2024-02-04T22-36-13Z
args:
- --quiet
- server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function minio_pre_init() {
}

function minio() {
local src="$DIR/addons/minio/2024-01-31T20-20-33Z"
local src="$DIR/addons/minio/2024-02-04T22-36-13Z"
local dst="$DIR/kustomize/minio"

if minio_already_uninstalled; then
Expand All @@ -51,10 +51,10 @@ function minio() {

if [ -n "$minio_ha_exists" ]; then
# don't update the statefulset or deployment, just change the images they use
kubectl set image -n minio statefulset/ha-minio minio=minio/minio:RELEASE.2024-01-31T20-20-33Z
kubectl set image -n minio statefulset/ha-minio minio=minio/minio:RELEASE.2024-02-04T22-36-13Z

# the deployment will have been deleted if data has been migrated to the statefulset, so don't error if the image isn't updated
kubectl set image -n minio deployment/minio minio=minio/minio:RELEASE.2024-01-31T20-20-33Z 2>/dev/null || true
kubectl set image -n minio deployment/minio minio=minio/minio:RELEASE.2024-02-04T22-36-13Z 2>/dev/null || true
else
# create the statefulset/deployment/service/secret/etc
render_yaml_file_2 "$src/tmpl-kustomization.yaml" > "$dst/kustomization.yaml"
Expand Down Expand Up @@ -399,7 +399,7 @@ function minio_ask_user_hostpath_for_migration() {
# 'minio-migrate-fs-backend'. this new deployment uses the same credentials used by the original minio
# deployment. if the installation uses host path and not a pvc, a temporary path is requested from the user.
function minio_create_fs_migration_deployment() {
local src="$DIR/addons/minio/2024-01-31T20-20-33Z/migrate-fs"
local src="$DIR/addons/minio/2024-02-04T22-36-13Z/migrate-fs"
local dst="$DIR/kustomize/minio/migrate-fs"

if [ -n "$MINIO_HOSTPATH" ]; then
Expand Down Expand Up @@ -456,7 +456,7 @@ function minio_destroy_fs_migration_deployment() {
function minio_swap_fs_migration_pvs() {
local minio_pv=$1
local migration_pv=$2
local src="$DIR/addons/minio/2024-01-31T20-20-33Z"
local src="$DIR/addons/minio/2024-02-04T22-36-13Z"
local dst="$DIR/kustomize/minio"

MINIO_ORIGINAL_CLAIM_SIZE=$(kubectl get pvc -n "$MINIO_NAMESPACE" minio-pv-claim -o template="{{.spec.resources.requests.storage}}" 2>/dev/null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
volumeMounts:
- name: data
mountPath: "/data"
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
image: minio/minio:RELEASE.2024-02-04T22-36-13Z
args:
- --quiet
- server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
volumeMounts:
- name: data
mountPath: "/data"
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
image: minio/minio:RELEASE.2024-02-04T22-36-13Z
args:
- --quiet
- server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
topologyKey: "kubernetes.io/hostname"
containers:
- name: minio
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
image: minio/minio:RELEASE.2024-02-04T22-36-13Z
volumeMounts:
- name: minio-data
mountPath: /data
Expand Down
2 changes: 1 addition & 1 deletion web/src/installers/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ module.exports.InstallerVersions = {
],
minio: [
// cron-minio-update
"2024-01-31T20-20-33Z",
"2024-02-04T22-36-13Z",
"2024-01-01T16-36-33Z",
"2023-12-09T18-17-51Z",
"2023-12-02T10-51-33Z",
Expand Down

0 comments on commit 622fcc3

Please sign in to comment.