forked from TrueCloudLab/frostfs-aio
[#42] Add region mapping for S3
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
a75b1b66eb
commit
00986aed8b
6 changed files with 9 additions and 1 deletions
2
.env
2
.env
|
@ -1,3 +1,3 @@
|
||||||
FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
||||||
AIO_IMAGE=truecloudlab/frostfs-aio
|
AIO_IMAGE=truecloudlab/frostfs-aio
|
||||||
AIO_VERSION=1.6.0
|
AIO_VERSION=1.6.1
|
||||||
|
|
|
@ -46,6 +46,7 @@ COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||||
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
||||||
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
||||||
|
COPY ./s3-gw/regions.json /config/regions.json
|
||||||
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
||||||
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
||||||
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
||||||
|
|
|
@ -46,6 +46,7 @@ COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||||
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
||||||
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
||||||
|
COPY ./s3-gw/regions.json /config/regions.json
|
||||||
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
||||||
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
||||||
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
||||||
|
|
|
@ -30,6 +30,7 @@ COPY ./morph/node-config.yaml /config/node-config.yaml
|
||||||
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
||||||
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
||||||
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
||||||
|
COPY ./s3-gw/regions.json /config/regions.json
|
||||||
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
||||||
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
||||||
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
||||||
|
|
4
s3-gw/regions.json
Normal file
4
s3-gw/regions.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"us-east-1": "REP 1",
|
||||||
|
"us-west-1": "REP 1"
|
||||||
|
}
|
|
@ -60,6 +60,7 @@ cache:
|
||||||
|
|
||||||
placement_policy:
|
placement_policy:
|
||||||
default: REP 1
|
default: REP 1
|
||||||
|
region_mapping: /config/regions.json
|
||||||
|
|
||||||
features:
|
features:
|
||||||
md5:
|
md5:
|
||||||
|
|
Loading…
Reference in a new issue