mirror of https://github.com/kubernetes/kops.git
[doc] Update s3api command to create OIDC bucket
Recently AWS disabled ACLs by default, so we need to update s3 commands to create public buckets
This commit is contained in:
parent
3eac17c582
commit
243c99166e
|
|
@ -263,6 +263,12 @@ The ACL must be public so that the AWS STS service can access them.
|
|||
aws s3api create-bucket \
|
||||
--bucket prefix-example-com-oidc-store \
|
||||
--region us-east-1 \
|
||||
--object-ownership BucketOwnerPreferred
|
||||
aws s3api put-public-access-block \
|
||||
--bucket prefix-example-com-oidc-store \
|
||||
--public-access-block-configuration BlockPublicAcls=false,IgnorePublicAcls=false,BlockPublicPolicy=false,RestrictPublicBuckets=false
|
||||
aws s3api put-bucket-acl \
|
||||
--bucket prefix-example-com-oidc-store \
|
||||
--acl public-read
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue