Fix 'mc policy' syntax for newer mc versions (#16200)

Signed-off-by: Markus Schöpke <markus.schoepke@bedag.ch>
This commit is contained in:
Markus Schoepke
2019-08-10 08:29:12 -07:00
committed by Kubernetes Prow Robot
parent e98bf1b928
commit 1a2f7072e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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