-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore(deps): update helm release minio to v5.0.14 #2691
Merged
Merged
Conversation
This file contains 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
Path: @@ -16,8 +16,8 @@
heritage: Helm
type: Opaque
data:
- rootUser: "dlFaMGdLcmJiM3hFYVZZY0d1TEQ="
- rootPassword: "dVFDWmtYVzc2WTMzUG1hN3dpakFIYlhrMHJ1RVNyV1JpN2VDNndkcg=="
+ rootUser: "TUd5TFVwNTFyVDBiZmFzemJiUGM="
+ rootPassword: "OVhEZjRyQzdVTDI2WTdRWEJCeFphSkxqM0ZydG5sd3JhRXV3dXJndQ=="
---
# Source: minio/templates/configmap.yaml
apiVersion: v1
@@ -29,7 +29,7 @@
release: minio
heritage: Helm
data:
- 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 [ -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} anonymous set $POLICY myminio/$BUCKET\n}\n\n# Try connecting to MinIO instance\nscheme=http\nconnectToMinio $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} 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"
add-user: |-
#!/bin/sh
set -e ; # Have script exit in the event of a failed command.
@@ -519,7 +519,7 @@
serviceAccountName: minio-sa
containers:
- name: minio-make-user
- image: "quay.io/minio/mc:RELEASE.2023-06-28T21-54-17Z"
+ image: "quay.io/minio/mc:RELEASE.2023-09-29T16-41-22Z"
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "/config/add-user"]
env: |
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.13
->5.0.14
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.
This PR has been generated by Mend Renovate. View repository job log here.