feat(helm): update chart minio ( 5.0.14 → 5.4.0 )#2208
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
feat(helm): update chart minio ( 5.0.14 → 5.4.0 )#2208renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
Path: --- /tmp/tmp.i4WOOMsvWg 2026-03-13 15:02:09.499014789 +0000
+++ /tmp/tmp.YyGNIUE6wI 2026-03-13 15:02:09.746013981 +0000
@@ -14,106 +14,105 @@
data:
initialize: |-
#!/bin/sh
- set -e ; # Have script exit in the event of a failed command.
+ set -e # Have script exit in the event of a failed command.
MC_CONFIG_DIR="/etc/minio/mc/"
MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
# connectToMinio
# Use a check-sleep-check loop to wait for MinIO service to be available
connectToMinio() {
- SCHEME=$1
- ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
- set -e ; # fail if we can't read the keys.
- ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
- set +e ; # The connections to minio are allowed to fail.
- echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ;
- MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ;
- $MC_COMMAND ;
- STATUS=$? ;
- until [ $STATUS = 0 ]
- do
- ATTEMPTS=`expr $ATTEMPTS + 1` ;
- echo \"Failed attempts: $ATTEMPTS\" ;
- if [ $ATTEMPTS -gt $LIMIT ]; then
- exit 1 ;
- fi ;
- sleep 2 ; # 1 second intervals between attempts
- $MC_COMMAND ;
- STATUS=$? ;
- done ;
- set -e ; # reset `e` as active
- return 0
+ SCHEME=$1
+ ATTEMPTS=0
+ LIMIT=29 # Allow 30 attempts
+ set -e # fail if we can't read the keys.
+ ACCESS=$(cat /config/rootUser)
+ SECRET=$(cat /config/rootPassword)
+ set +e # The connections to minio are allowed to fail.
+ echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT"
+ MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET"
+ $MC_COMMAND
+ STATUS=$?
+ until [ $STATUS = 0 ]; do
+ ATTEMPTS=$(expr $ATTEMPTS + 1)
+ echo \"Failed attempts: $ATTEMPTS\"
+ if [ $ATTEMPTS -gt $LIMIT ]; then
+ exit 1
+ fi
+ sleep 2 # 1 second intervals between attempts
+ $MC_COMMAND
+ STATUS=$?
+ done
+ set -e # reset `e` as active
+ return 0
}
# checkBucketExists ($bucket)
# Check if the bucket exists, by using the exit code of `mc ls`
checkBucketExists() {
- BUCKET=$1
- CMD=$(${MC} stat myminio/$BUCKET > /dev/null 2>&1)
- return $?
+ BUCKET=$1
+ CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)
+ return $?
}
# createBucket ($bucket, $policy, $purge)
# Ensure bucket exists, purging if asked to
createBucket() {
- BUCKET=$1
- POLICY=$2
- PURGE=$3
- VERSIONING=$4
- OBJECTLOCKING=$5
-
- # Purge the bucket, if set & exists
- # Since PURGE is user input, check explicitly for `true`
- if [ $PURGE = true ]; then
- if checkBucketExists $BUCKET ; then
- echo "Purging bucket '$BUCKET'."
- set +e ; # don't exit if this fails
- ${MC} rm -r --force myminio/$BUCKET
- set -e ; # reset `e` as active
- else
- echo "Bucket '$BUCKET' does not exist, skipping purge."
- fi
- fi
-
- # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created)
- if ! checkBucketExists $BUCKET ; then
- if [ ! -z $OBJECTLOCKING ] ; then
- if [ $OBJECTLOCKING = true ] ; then
- echo "Creating bucket with OBJECTLOCKING '$BUCKET'"
- ${MC} mb --with-lock myminio/$BUCKET
- elif [ $OBJECTLOCKING = false ] ; then
- echo "Creating bucket '$BUCKET'"
- ${MC} mb myminio/$BUCKET
- fi
- elif [ -z $OBJECTLOCKING ] ; then
- echo "Creating bucket '$BUCKET'"
- ${MC} mb myminio/$BUCKET
- else
- echo "Bucket '$BUCKET' already exists."
- fi
- fi
-
-
- # set versioning for bucket if objectlocking is disabled or not set
- if [ $OBJECTLOCKING = false ] ; then
- if [ ! -z $VERSIONING ] ; then
- if [ $VERSIONING = true ] ; then
- echo "Enabling versioning for '$BUCKET'"
- ${MC} version enable myminio/$BUCKET
- elif [ $VERSIONING = false ] ; then
- echo "Suspending versioning for '$BUCKET'"
- ${MC} version suspend myminio/$BUCKET
- fi
- fi
- else
- echo "Bucket '$BUCKET' versioning unchanged."
- fi
-
-
- # At this point, the bucket should exist, skip checking for existence
- # Set policy on the bucket
- echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
- ${MC} anonymous set $POLICY myminio/$BUCKET
+ BUCKET=$1
+ POLICY=$2
+ PURGE=$3
+ VERSIONING=$4
+ OBJECTLOCKING=$5
+
+ # Purge the bucket, if set & exists
+ # Since PURGE is user input, check explicitly for `true`
+ if [ $PURGE = true ]; then
+ if checkBucketExists $BUCKET; then
+ echo "Purging bucket '$BUCKET'."
+ set +e # don't exit if this fails
+ ${MC} rm -r --force myminio/$BUCKET
+ set -e # reset `e` as active
+ else
+ echo "Bucket '$BUCKET' does not exist, skipping purge."
+ fi
+ fi
+
+ # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created)
+ if ! checkBucketExists $BUCKET; then
+ if [ ! -z $OBJECTLOCKING ]; then
+ if [ $OBJECTLOCKING = true ]; then
+ echo "Creating bucket with OBJECTLOCKING '$BUCKET'"
+ ${MC} mb --with-lock myminio/$BUCKET
+ elif [ $OBJECTLOCKING = false ]; then
+ echo "Creating bucket '$BUCKET'"
+ ${MC} mb myminio/$BUCKET
+ fi
+ elif [ -z $OBJECTLOCKING ]; then
+ echo "Creating bucket '$BUCKET'"
+ ${MC} mb myminio/$BUCKET
+ else
+ echo "Bucket '$BUCKET' already exists."
+ fi
+ fi
+
+ # set versioning for bucket if objectlocking is disabled or not set
+ if [ $OBJECTLOCKING = false ]; then
+ if [ ! -z $VERSIONING ]; then
+ if [ $VERSIONING = true ]; then
+ echo "Enabling versioning for '$BUCKET'"
+ ${MC} version enable myminio/$BUCKET
+ elif [ $VERSIONING = false ]; then
+ echo "Suspending versioning for '$BUCKET'"
+ ${MC} version suspend myminio/$BUCKET
+ fi
+ fi
+ else
+ echo "Bucket '$BUCKET' versioning unchanged."
+ fi
+
+ # At this point, the bucket should exist, skip checking for existence
+ # Set policy on the bucket
+ echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
+ ${MC} anonymous set $POLICY myminio/$BUCKET
}
# Try connecting to MinIO instance
@@ -453,7 +452,7 @@
serviceAccountName: minio-sa
containers:
- name: minio
- image: "quay.io/minio/minio:RELEASE.2023-09-30T07-02-29Z"
+ image: "quay.io/minio/minio:RELEASE.2024-12-18T13-15-44Z"
imagePullPolicy: IfNotPresent
command:
- "/bin/sh"
@@ -629,7 +628,7 @@
serviceAccountName: minio-sa
containers:
- name: minio-make-user
- image: "quay.io/minio/mc:RELEASE.2023-09-29T16-41-22Z"
+ image: "quay.io/minio/mc:RELEASE.2024-11-21T17-21-54Z"
imagePullPolicy: IfNotPresent
command: [ "/bin/sh", "/config/add-user" ]
env: |
e35288f to
ba1feeb
Compare
ba1feeb to
2492650
Compare
2492650 to
86fdb6d
Compare
86fdb6d to
ffe4efe
Compare
ffe4efe to
a9b15ab
Compare
a9b15ab to
02b21c0
Compare
02b21c0 to
2306fdd
Compare
2306fdd to
69275ae
Compare
| datasource | package | from | to | | ---------- | ------- | ------ | ----- | | helm | minio | 5.0.14 | 5.4.0 | Signed-off-by: Roger Rumao <rogerrum@users.noreply.github.com>
69275ae to
f3bd35c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.14→5.4.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.