From 1a2f7072e466aa5bb3e393f0c4246db6ee5dc909 Mon Sep 17 00:00:00 2001 From: Markus Schoepke <23531+MarS919@users.noreply.github.com> Date: Sat, 10 Aug 2019 17:29:12 +0200 Subject: [PATCH] Fix 'mc policy' syntax for newer mc versions (#16200) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Markus Schöpke --- stable/minio/Chart.yaml | 2 +- stable/minio/templates/_helper_create_bucket.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index fe2649de51..3c0baad456 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -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 diff --git a/stable/minio/templates/_helper_create_bucket.txt b/stable/minio/templates/_helper_create_bucket.txt index 955287932d..06808264fc 100755 --- a/stable/minio/templates/_helper_create_bucket.txt +++ b/stable/minio/templates/_helper_create_bucket.txt @@ -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