Add forcepathstyle parameter for s3
Signed-off-by: duanhongyi <duanhongyi@doopai.com>
This commit is contained in:
parent
cd51f38d53
commit
15de9e21ba
4 changed files with 35 additions and 2 deletions
|
@ -118,6 +118,7 @@ storage:
|
|||
secretkey: awssecretkey
|
||||
region: us-west-1
|
||||
regionendpoint: http://myobjects.local
|
||||
forcepathstyle: true
|
||||
accelerate: false
|
||||
bucket: bucketname
|
||||
encrypt: true
|
||||
|
@ -423,6 +424,7 @@ storage:
|
|||
secretkey: awssecretkey
|
||||
region: us-west-1
|
||||
regionendpoint: http://myobjects.local
|
||||
forcepathstyle: true
|
||||
accelerate: false
|
||||
bucket: bucketname
|
||||
encrypt: true
|
||||
|
|
|
@ -13,8 +13,9 @@ Amazon S3 or S3 compatible services for object storage.
|
|||
|:--------------|:---------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `accesskey` | no | Your AWS Access Key. If you use [IAM roles](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html), omit to fetch temporary credentials from IAM. |
|
||||
| `secretkey` | no | Your AWS Secret Key. If you use [IAM roles](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html), omit to fetch temporary credentials from IAM. |
|
||||
| `region` | yes | The AWS region in which your bucket exists. For the moment, the Go AWS library in use does not use the newer DNS based bucket routing. |
|
||||
| `region` | yes | The AWS region in which your bucket exists. |
|
||||
| `regionendpoint` | no | Endpoint for S3 compatible storage services (Minio, etc). |
|
||||
| `forcepathstyle` | no | To enable path-style addressing when the value is set to `true`. The default is `true`. |
|
||||
| `bucket` | yes | The bucket name in which you want to store the registry's data. |
|
||||
| `encrypt` | no | Specifies whether the registry stores the image in encrypted format or not. A boolean value. The default is `false`. |
|
||||
| `keyid` | no | Optional KMS key ID to use for encryption (encrypt must be true, or this parameter is ignored). The default is `none`. |
|
||||
|
@ -35,6 +36,8 @@ Amazon S3 or S3 compatible services for object storage.
|
|||
|
||||
`regionendpoint`: (optional) Endpoint URL for S3 compatible APIs. This should not be provided when using Amazon S3.
|
||||
|
||||
`forcepathstyle`: (optional) The force path style for S3 compatible APIs. Some manufacturers only support force path style, while others only support DNS based bucket routing. Amazon S3 supports both.
|
||||
|
||||
`bucket`: The name of your S3 bucket where you wish to store objects. The bucket must exist prior to the driver initialization.
|
||||
|
||||
`encrypt`: (optional) Whether you would like your data encrypted on the server side (defaults to false if not specified).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue