feature/virtual-hosted-style #465

Merged
alexvanin merged 3 commits from feature/virtual-hosted-style into master 2024-08-23 08:35:06 +00:00
Member

The final version of virtual-hosted-style for frostfs-s3-gw.

The final version of virtual-hosted-style for frostfs-s3-gw.
r.loginov self-assigned this 2024-08-19 13:38:29 +00:00
r.loginov added 3 commits 2024-08-19 13:38:33 +00:00
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
[#449] Add support headers for vhs and servername
All checks were successful
/ DCO (pull_request) Successful in 56s
/ Vulncheck (pull_request) Successful in 1m12s
/ Builds (1.21) (pull_request) Successful in 1m31s
/ Builds (1.22) (pull_request) Successful in 1m15s
/ Lint (pull_request) Successful in 2m21s
/ Tests (1.21) (pull_request) Successful in 1m37s
/ Tests (1.22) (pull_request) Successful in 1m35s
71f75a8b3d
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
r.loginov requested review from storage-services-committers 2024-08-19 13:44:18 +00:00
r.loginov requested review from storage-services-developers 2024-08-19 13:44:18 +00:00
dkirillov approved these changes 2024-08-20 06:54:19 +00:00
dkirillov left a comment
Member

LGTM

LGTM
alexvanin reviewed 2024-08-21 13:55:34 +00:00
@ -200,3 +201,4 @@
listen_domains:
- s3dev.frostfs.devenv
- s3dev.<wildcard>.frostfs.devenv
- s3dev2.frostfs.devenv
Owner

@dkirillov Have you discussed putting it into vhs section?

@dkirillov Have you discussed putting it into `vhs` section?
Member

We haven't discussed. I'm ok with keeping params in listen_domains

We haven't discussed. I'm ok with keeping params in `listen_domains`
@ -724,0 +743,4 @@
| `enabled` | `bool` | yes | `false` | Enables the use of virtual host addressing for buckets at the application level. |
| `vhs_header` | `string` | yes | `X-Frostfs-S3-VHS` | Header for determining whether VHS is enabled for the request. |
| `servername_header` | `string` | yes | `X-Frostfs-Servername` | Header for determining servername. |
| `namespaces` | `map[string]bool` | yes | | A map in which the keys are the name of the namespace, and the values are the flag responsible for enabling VHS for the specified namespace. |
Owner

I think this overrides enabled flag in vhs section, even when it is disabled. Let's mention that in description.

For example:

Overrides global 'enabled' setting even when it is disabled
I think this overrides `enabled` flag in `vhs` section, even when it is disabled. Let's mention that in description. For example: ``` Overrides global 'enabled' setting even when it is disabled ```
alexvanin marked this conversation as resolved
r.loginov force-pushed feature/virtual-hosted-style from 71f75a8b3d to 0f564880bf 2024-08-22 08:00:15 +00:00 Compare
r.loginov force-pushed feature/virtual-hosted-style from 0f564880bf to d9fbe4de84 2024-08-22 08:10:52 +00:00 Compare
alexvanin approved these changes 2024-08-23 06:39:38 +00:00
dkirillov approved these changes 2024-08-23 08:17:16 +00:00
alexvanin merged commit bf00fa6aa9 into master 2024-08-23 08:35:06 +00:00
alexvanin deleted branch feature/virtual-hosted-style 2024-08-23 08:35:07 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#465
No description provided.