home-ops
home-ops copied to clipboard
feat(helm): update chart minio to 5.3.0
This PR contains the following updates:
Package | Update | Change |
---|---|---|
minio (source) | minor | 5.0.14 -> 5.3.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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, check this box
This PR has been generated by Renovate Bot.
Path: cluster/apps/storage/minio/helm-release.yaml
%0AVersion: 5.0.14
-> 5.2.0
%0A%0Adiff%0A@@ -29,7 +29,112 @@%0A release: minio%0A heritage: Helm%0A data:%0A- 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} stat 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 [ $OBJECTLOCKING = false ] ; 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} anonymous set $POLICY myminio/$BUCKET\n}\n\n# Try connecting to MinIO instance\nscheme=http\nconnectToMinio $scheme"%0A+ initialize: |-%0A+ #!/bin/sh%0A+ set -e # Have script exit in the event of a failed command.%0A+ MC_CONFIG_DIR="/etc/minio/mc/"%0A+ MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"%0A+%0A+ # connectToMinio%0A+ # Use a check-sleep-check loop to wait for MinIO service to be available%0A+ connectToMinio() {%0A+ SCHEME=$1%0A+ ATTEMPTS=0%0A+ LIMIT=29 # Allow 30 attempts%0A+ set -e # fail if we can't read the keys.%0A+ ACCESS=$(cat /config/rootUser)%0A+ SECRET=$(cat /config/rootPassword)%0A+ set +e # The connections to minio are allowed to fail.%0A+ echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT"%0A+ MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET"%0A+ $MC_COMMAND%0A+ STATUS=$?%0A+ until [ $STATUS = 0 ]; do%0A+ ATTEMPTS=$(expr $ATTEMPTS + 1)%0A+ echo \"Failed attempts: $ATTEMPTS\"%0A+ if [ $ATTEMPTS -gt $LIMIT ]; then%0A+ exit 1%0A+ fi%0A+ sleep 2 # 1 second intervals between attempts%0A+ $MC_COMMAND%0A+ STATUS=$?%0A+ done%0A+ set -e # reset `e` as active%0A+ return 0%0A+ }%0A+%0A+ # checkBucketExists ($bucket)%0A+ # Check if the bucket exists, by using the exit code of `mc ls`%0A+ checkBucketExists() {%0A+ BUCKET=$1%0A+ CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)%0A+ return $?%0A+ }%0A+%0A+ # createBucket ($bucket, $policy, $purge)%0A+ # Ensure bucket exists, purging if asked to%0A+ createBucket() {%0A+ BUCKET=$1%0A+ POLICY=$2%0A+ PURGE=$3%0A+ VERSIONING=$4%0A+ OBJECTLOCKING=$5%0A+%0A+ # Purge the bucket, if set & exists%0A+ # Since PURGE is user input, check explicitly for `true`%0A+ if [ $PURGE = true ]; then%0A+ if checkBucketExists $BUCKET; then%0A+ echo "Purging bucket '$BUCKET'."%0A+ set +e # don't exit if this fails%0A+ ${MC} rm -r --force myminio/$BUCKET%0A+ set -e # reset `e` as active%0A+ else%0A+ echo "Bucket '$BUCKET' does not exist, skipping purge."%0A+ fi%0A+ fi%0A+%0A+ # 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)%0A+ if ! checkBucketExists $BUCKET; then%0A+ if [ ! -z $OBJECTLOCKING ]; then%0A+ if [ $OBJECTLOCKING = true ]; then%0A+ echo "Creating bucket with OBJECTLOCKING '$BUCKET'"%0A+ ${MC} mb --with-lock myminio/$BUCKET%0A+ elif [ $OBJECTLOCKING = false ]; then%0A+ echo "Creating bucket '$BUCKET'"%0A+ ${MC} mb myminio/$BUCKET%0A+ fi%0A+ elif [ -z $OBJECTLOCKING ]; then%0A+ echo "Creating bucket '$BUCKET'"%0A+ ${MC} mb myminio/$BUCKET%0A+ else%0A+ echo "Bucket '$BUCKET' already exists."%0A+ fi%0A+ fi%0A+%0A+ # set versioning for bucket if objectlocking is disabled or not set%0A+ if [ $OBJECTLOCKING = false ]; then%0A+ if [ ! -z $VERSIONING ]; then%0A+ if [ $VERSIONING = true ]; then%0A+ echo "Enabling versioning for '$BUCKET'"%0A+ ${MC} version enable myminio/$BUCKET%0A+ elif [ $VERSIONING = false ]; then%0A+ echo "Suspending versioning for '$BUCKET'"%0A+ ${MC} version suspend myminio/$BUCKET%0A+ fi%0A+ fi%0A+ else%0A+ echo "Bucket '$BUCKET' versioning unchanged."%0A+ fi%0A+%0A+ # At this point, the bucket should exist, skip checking for existence%0A+ # Set policy on the bucket%0A+ echo "Setting policy of bucket '$BUCKET' to '$POLICY'."%0A+ ${MC} anonymous set $POLICY myminio/$BUCKET%0A+ }%0A+%0A+ # Try connecting to MinIO instance%0A+ scheme=http%0A+ connectToMinio $scheme%0A add-user: |-%0A #!/bin/sh%0A set -e ; # Have script exit in the event of a failed command.%0A@@ -369,8 +474,8 @@%0A app: minio%0A release: minio%0A annotations:%0A- checksum/secrets: 0d54b990913eb433e4ee487810c67b6bfb6199f8e6d96cdaf9d84e77954c73ec%0A- checksum/config: f0b599d0c3f6d130c509d7011f820d495d51acc0f96345003f120bd00834065d%0A+ checksum/secrets: 720437be6de37c447149eca0cd1ecf004e20499a40838ad968536d4104e7c6ec%0A+ checksum/config: a2eafe73a716a5c7e9fbc7d26376414e08530d479586f5a8a4e7a73750cc2176%0A spec:%0A securityContext:%0A runAsUser: 1000%0A@@ -572,7 +677,7 @@%0A serviceAccountName: minio-sa%0A containers:%0A - name: minio-make-user%0A- image: "quay.io/minio/mc:RELEASE.2023-09-29T16-41-22Z"%0A+ image: "quay.io/minio/mc:RELEASE.2024-04-18T16-45-29Z"%0A imagePullPolicy: IfNotPresent%0A command: ["/bin/sh", "/config/add-user"]%0A env:%0A
🦙 MegaLinter status: ✅ SUCCESS
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ YAML | yamllint | 1 | 0 | 0.19s |
See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff