You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When minio adds the buckets created, it sets the public read permission for buckets
What is the feature you are proposing to solve the problem?
When minio adds the buckets created, it sets the public read permission for buckets
this is my job
- "/bin/bash"
- "-c"
- | set -e ############################################ # MinIO MINIO_HOST="http://minio:9000" MINIO_ACCESS_KEY={{ .Values.auth.rootUser }} MINIO_SECRET_KEY={{ .Values.auth.rootPassword }} # BUCKET_LIST BUCKET_LIST=("test1" "test2" "test3") ############################################ while true; do if curl --output /dev/null --silent --head --fail $MINIO_HOST/minio/health/live; then echo "$MINIO_HOST 检测成功" break else echo "$MINIO_HOST 检测失败" sleep 5 fi done mc config host add myminio $MINIO_HOST $MINIO_ACCESS_KEY $MINIO_SECRET_KEY for bucket in ${BUCKET_LIST[@]}; do if ! mc ls myminio/$bucket >/dev/null 2>&1; then mc mb myminio/$bucket echo "Bucket $bucket created." mc anonymous set download myminio/$bucket else echo "Bucket $bucket already exists." if mc anonymous get myminio/$bucket | grep 'download' >/dev/null 2>&1; then echo Access permission for $bucket is set true else mc anonymous set download myminio/$bucket fi fi done
The text was updated successfully, but these errors were encountered:
liuxin638507
changed the title
[bitnami/minio] When minio adds the buckets created, it sets the public read permission for buckets,hope add the provisioning-job.yaml
[bitnami/minio] When minio adds the buckets created, it sets the public read permission for buckets,hope add in the provisioning-job.yaml
Apr 28, 2024
carrodher
changed the title
[bitnami/minio] When minio adds the buckets created, it sets the public read permission for buckets,hope add in the provisioning-job.yaml
[bitnami/minio] When minio adds the buckets created, it sets the public read permission for buckets, hope add in the provisioning-job.yaml
Apr 29, 2024
Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.
Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
thank you ,I added a new line in provisioning-job.yaml to set permissions, which can also be set as variables
vim templates/provisioning-job.yaml
183 mc mb {{ $target }} --ignore-existing {{ $region }} {{ $withLock }};
184 mc anonymous set download {{ $target }};
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/minio
What is the problem this feature will solve?
When minio adds the buckets created, it sets the public read permission for buckets
What is the feature you are proposing to solve the problem?
When minio adds the buckets created, it sets the public read permission for buckets
this is my job
The text was updated successfully, but these errors were encountered: