Skip to content

Commit

Permalink
use acls instead of IAM :(
Browse files Browse the repository at this point in the history
  • Loading branch information
upodroid committed Oct 1, 2023
1 parent eed4487 commit 249c193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/kubetest2-kops/gce/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " "))
Expand Down

0 comments on commit 249c193

Please sign in to comment.