mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix 'mc policy' syntax for newer mc versions (#16200)
Signed-off-by: Markus Schöpke <markus.schoepke@bedag.ch>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e98bf1b928
commit
1a2f7072e4
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: MinIO is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.
|
||||
name: minio
|
||||
version: 2.5.10
|
||||
version: 2.5.11
|
||||
appVersion: RELEASE.2019-08-07T01-59-21Z
|
||||
keywords:
|
||||
- storage
|
||||
|
||||
@@ -67,7 +67,7 @@ createBucket() {
|
||||
# At this point, the bucket should exist, skip checking for existence
|
||||
# Set policy on the bucket
|
||||
echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
|
||||
/usr/bin/mc policy $POLICY myminio/$BUCKET
|
||||
/usr/bin/mc policy set $POLICY myminio/$BUCKET
|
||||
}
|
||||
|
||||
# Try connecting to Minio instance
|
||||
|
||||
Reference in New Issue
Block a user