From 249c193873ee2a1ca4346a6361d1927f6559ae2f Mon Sep 17 00:00:00 2001 From: upodroid Date: Sun, 1 Oct 2023 16:50:03 +0100 Subject: [PATCH] use acls instead of IAM :( --- tests/e2e/kubetest2-kops/gce/gcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/kubetest2-kops/gce/gcs.go b/tests/e2e/kubetest2-kops/gce/gcs.go index f15a397ca0d4f..7e384e7027969 100644 --- a/tests/e2e/kubetest2-kops/gce/gcs.go +++ b/tests/e2e/kubetest2-kops/gce/gcs.go @@ -79,7 +79,7 @@ func EnsureGCSBucket(bucketPath, projectID string, public bool) error { if public { iamArgs := []string{ - "gsutil", "iam", "ch", "allUsers:objectViewer", + "gsutil", "acl", "set", "public-read", } iamArgs = append(iamArgs, bucketPath) klog.Info(strings.Join(iamArgs, " "))