k3s-gitops
k3s-gitops copied to clipboard
chore(deps): update helm chart minio to v4.0.11
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| minio (source) | patch | 4.0.10 -> 4.0.11 |
Configuration
📅 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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Path: default/minio/minio.yaml
Version: 4.0.10 -> 4.0.11
@@ -386,8 +386,8 @@
app: minio
release: minio
annotations:
- checksum/secrets: 7120ce7dd15bc6f1cd0cab17e809e66cc7ad83bbae1d5d459112775195ea299a
- checksum/config: 9d4bf6733fc9ab86b3f55a041428bda5dbc5da30f948e1f513821907ee8f2b52
+ checksum/secrets: 209179925e37f170c270dc5e4b9f7a59767a93898c5438d84e5f65b6d83081f9
+ checksum/config: d53cfd1750cff7c4227de8e75da77654a854bccf089e9ecf8332e59e17076bfe
spec:
serviceAccountName: minio-sa
containers:
Path: default/minio/minio.yaml
Version: 4.0.10 -> 4.0.12
@@ -31,99 +31,7 @@
release: minio
heritage: Helm
data:
- initialize: |-
- #!/bin/sh
- 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
- }
-
- # checkBucketExists ($bucket)
- # Check if the bucket exists, by using the exit code of `mc ls`
- checkBucketExists() {
- BUCKET=$1
- CMD=$(${MC} ls 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
-
- # 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
- if ! checkBucketExists $BUCKET ; then
- echo "Creating bucket '$BUCKET'"
- ${MC} mb myminio/$BUCKET
- else
- echo "Bucket '$BUCKET' already exists."
- fi
-
-
- # set versioning for bucket
- 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
- 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} policy set $POLICY myminio/$BUCKET
- }
-
- # Try connecting to MinIO instance
- scheme=http
- connectToMinio $scheme
+ initialize: "#!/bin/sh\nset -e ; # Have script exit in the event of a failed command.\nMC_CONFIG_DIR=\"/etc/minio/mc/\"\nMC=\"/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}\"\n\n# connectToMinio\n# Use a check-sleep-check loop to wait for MinIO service to be available\nconnectToMinio() {\n SCHEME=$1\n ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts\n set -e ; # fail if we can't read the keys.\n ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;\n set +e ; # The connections to minio are allowed to fail.\n echo \"Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT\" ;\n MC_COMMAND=\"${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET\" ;\n $MC_COMMAND ;\n STATUS=$? ;\n until [ $STATUS = 0 ]\n do\n ATTEMPTS=`expr $ATTEMPTS + 1` ;\n echo \\\"Failed attempts: $ATTEMPTS\\\" ;\n if [ $ATTEMPTS -gt $LIMIT ]; then\n exit 1 ;\n fi ;\n sleep 2 ; # 1 second intervals between attempts\n $MC_COMMAND ;\n STATUS=$? ;\n done ;\n set -e ; # reset `e` as active\n return 0\n}\n\n# checkBucketExists ($bucket)\n# Check if the bucket exists, by using the exit code of `mc ls`\ncheckBucketExists() {\n BUCKET=$1\n CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1)\n return $?\n}\n\n# createBucket ($bucket, $policy, $purge)\n# Ensure bucket exists, purging if asked to\ncreateBucket() {\n BUCKET=$1\n POLICY=$2\n PURGE=$3\n VERSIONING=$4\n OBJECTLOCKING=$5\n\n # Purge the bucket, if set & exists\n # Since PURGE is user input, check explicitly for `true`\n if [ $PURGE = true ]; then\n if checkBucketExists $BUCKET ; then\n echo \"Purging bucket '$BUCKET'.\"\n set +e ; # don't exit if this fails\n ${MC} rm -r --force myminio/$BUCKET\n set -e ; # reset `e` as active\n else\n echo \"Bucket '$BUCKET' does not exist, skipping purge.\"\n fi\n fi\n\n# 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)\nif ! checkBucketExists $BUCKET ; then\n if [ ! -z $OBJECTLOCKING ] ; then\n if [ $OBJECTLOCKING = true ] ; then\n echo \"Creating bucket with OBJECTLOCKING '$BUCKET'\"\n ${MC} mb --with-lock myminio/$BUCKET\n elif [ $OBJECTLOCKING = false ] ; then\n echo \"Creating bucket '$BUCKET'\"\n ${MC} mb myminio/$BUCKET\n fi\n elif [ -z $OBJECTLOCKING ] ; then\n echo \"Creating bucket '$BUCKET'\"\n ${MC} mb myminio/$BUCKET\n else\n echo \"Bucket '$BUCKET' already exists.\" \n fi\n fi\n\n\n # set versioning for bucket if objectlocking is disabled or not set\n if [ -z $OBJECTLOCKING ] ; then\n if [ ! -z $VERSIONING ] ; then\n if [ $VERSIONING = true ] ; then\n echo \"Enabling versioning for '$BUCKET'\"\n ${MC} version enable myminio/$BUCKET\n elif [ $VERSIONING = false ] ; then\n echo \"Suspending versioning for '$BUCKET'\"\n ${MC} version suspend myminio/$BUCKET\n fi\n fi\n else\n echo \"Bucket '$BUCKET' versioning unchanged.\"\n fi\n\n\n # At this point, the bucket should exist, skip checking for existence\n # Set policy on the bucket\n echo \"Setting policy of bucket '$BUCKET' to '$POLICY'.\"\n ${MC} policy set $POLICY myminio/$BUCKET\n}\n\n# Try connecting to MinIO instance\nscheme=http\nconnectToMinio $scheme"
add-user: |-
#!/bin/sh
set -e ; # Have script exit in the event of a failed command.
@@ -386,8 +294,8 @@
app: minio
release: minio
annotations:
- checksum/secrets: 7120ce7dd15bc6f1cd0cab17e809e66cc7ad83bbae1d5d459112775195ea299a
- checksum/config: 9d4bf6733fc9ab86b3f55a041428bda5dbc5da30f948e1f513821907ee8f2b52
+ checksum/secrets: 5dd00aae53eb79e2733d68f63d23d4a3899412840b4a2ca8259c8f1a712b7f8f
+ checksum/config: 46aa2282f4ac351cd3fd5e9e17ee33804a5132ba1ac660cfe4c6ecd629d19c94
spec:
serviceAccountName: minio-sa
containers: