Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): update chart minio to 5.3.0 #1825

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wyoa-bot[bot]
Copy link
Contributor

@wyoa-bot wyoa-bot bot commented Jan 12, 2024

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.

@wyoa-bot wyoa-bot bot requested a review from jr0dd as a code owner January 12, 2024 20:03
@wyoa-bot wyoa-bot bot added renovate/helm type/patch size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/cluster Changes made in the cluster directory labels Jan 12, 2024
@wyoa-bot
Copy link
Contributor Author

wyoa-bot bot commented Jan 12, 2024

Path: cluster/apps/storage/minio/helm-release.yaml%0AVersion: 5.0.14 -> 5.3.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,14 +474,14 @@%0A app: minio%0A release: minio%0A annotations:%0A- checksum/secrets: 0d54b990913eb433e4ee487810c67b6bfb6199f8e6d96cdaf9d84e77954c73ec%0A- checksum/config: f0b599d0c3f6d130c509d7011f820d495d51acc0f96345003f120bd00834065d%0A+ checksum/secrets: e5b037a2775a8a5402a3cd07b0ecce09cfc25a3ffd8d0b0d005bc41bbc081437%0A+ checksum/config: aec26e11723318097b97dc0655e934d1cdf50a95229261298d4f08688f453e84%0A spec:%0A securityContext:%0A- runAsUser: 1000%0A- runAsGroup: 1000%0A fsGroup: 1000%0A fsGroupChangePolicy: OnRootMismatch%0A+ runAsGroup: 1000%0A+ runAsUser: 1000%0A serviceAccountName: minio-sa%0A containers:%0A - name: minio%0A@@ -426,6 +531,8 @@%0A requests:%0A cpu: 100m%0A memory: 500Mi%0A+ securityContext:%0A+ readOnlyRootFilesystem: false%0A volumes:%0A - name: export%0A persistentVolumeClaim:%0A@@ -572,7 +679,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

@wyoa-bot
Copy link
Contributor Author

wyoa-bot bot commented Jan 12, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ YAML yamllint 1 0 0.2s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@wyoa-bot wyoa-bot bot changed the title fix(helm): update chart minio to 5.0.15 feat(helm): update chart minio to 5.1.0 Mar 3, 2024
@wyoa-bot wyoa-bot bot changed the title feat(helm): update chart minio to 5.1.0 feat(helm): update chart minio to 5.2.0 Apr 28, 2024
@wyoa-bot wyoa-bot bot changed the title feat(helm): update chart minio to 5.2.0 feat(helm): update chart minio to 5.2.0 - autoclosed Aug 25, 2024
@wyoa-bot wyoa-bot bot closed this Aug 25, 2024
@wyoa-bot wyoa-bot bot deleted the renovate/minio branch August 25, 2024 20:11
@wyoa-bot wyoa-bot bot changed the title feat(helm): update chart minio to 5.2.0 - autoclosed feat(helm): update chart minio to 5.2.0 Aug 26, 2024
@wyoa-bot wyoa-bot bot reopened this Aug 26, 2024
@wyoa-bot wyoa-bot bot restored the renovate/minio branch August 26, 2024 04:14
| datasource | package | from   | to    |
| ---------- | ------- | ------ | ----- |
| helm       | minio   | 5.0.14 | 5.3.0 |
@wyoa-bot wyoa-bot bot changed the title feat(helm): update chart minio to 5.2.0 feat(helm): update chart minio to 5.3.0 Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster Changes made in the cluster directory renovate/helm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants