mirror of
https://github.com/minio/minio.git
synced 2025-04-15 16:39:16 -04:00
helm: update bucket policy setting via 'mc anonymous' (#16055)
This commit is contained in:
parent
6dc7109a9f
commit
ce299b47ea
@ -103,7 +103,7 @@ if ! checkBucketExists $BUCKET ; then
|
|||||||
# At this point, the bucket should exist, skip checking for existence
|
# At this point, the bucket should exist, skip checking for existence
|
||||||
# Set policy on the bucket
|
# Set policy on the bucket
|
||||||
echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
|
echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
|
||||||
${MC} policy set $POLICY myminio/$BUCKET
|
${MC} anonymous set $POLICY myminio/$BUCKET
|
||||||
}
|
}
|
||||||
|
|
||||||
# Try connecting to MinIO instance
|
# Try connecting to MinIO instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user