forked from TrueCloudLab/frostfs-s3-gw
parent
d2587b21af
commit
556374e3b0
2 changed files with 8 additions and 4 deletions
|
@ -11,6 +11,7 @@ This document outlines major changes between releases.
|
|||
### Added
|
||||
- Use client time as `now` in some requests (#726)
|
||||
- Timeout for individual operations in streaming RPC (#740)
|
||||
- Reload policies on SIGHUP (#747)
|
||||
|
||||
### Changed
|
||||
- Placement policy configuration (#568)
|
||||
|
|
|
@ -263,10 +263,10 @@ placement_policy:
|
|||
region_mapping: /path/to/mapping/rules.json
|
||||
```
|
||||
|
||||
| Parameter | Type | Default value | Description |
|
||||
|------------------|----------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `default` | `string` | `REP 3` | Default policy of placing containers in NeoFS. If a user sends a request `CreateBucket` and doesn't define policy for placing of a container in NeoFS, the S3 Gateway will put the container with default policy. |
|
||||
| `region_mapping` | `string` | | Path to file that maps aws `LocationContraint` values to NeoFS placement policy. The similar to `--container-policy` flag in `neofs-s3-authmate` util. |
|
||||
| Parameter | Type | SIGHUP reload | Default value | Description |
|
||||
|------------------|----------|---------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `default` | `string` | yes | `REP 3` | Default policy of placing containers in NeoFS. If a user sends a request `CreateBucket` and doesn't define policy for placing of a container in NeoFS, the S3 Gateway will put the container with default policy. |
|
||||
| `region_mapping` | `string` | yes | | Path to file that maps aws `LocationContraint` values to NeoFS placement policy. The similar to `--container-policy` flag in `neofs-s3-authmate` util. |
|
||||
|
||||
File for `region_mapping` must contain something like this:
|
||||
|
||||
|
@ -278,6 +278,9 @@ File for `region_mapping` must contain something like this:
|
|||
}
|
||||
```
|
||||
|
||||
**Note:** on SIGHUP reload policies will be updated only if both parameters are valid.
|
||||
So if you change `default` to some valid value and set invalid path in `region_mapping` the `default` value won't be changed.
|
||||
|
||||
### `tls` section
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue