Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: explain how to use --rgw-dns-name to enable hostname style buckets #754

Closed
tserong opened this issue Oct 12, 2023 · 3 comments · Fixed by #758 or s3gw-tech/s3gw-charts#127
Closed
Assignees
Labels
kind/documentation Improvements or additions to documentation priority/1 Should be fixed for next release
Milestone

Comments

@tserong
Copy link
Contributor

tserong commented Oct 12, 2023

This is already handled by the charts for k8s deployments, but for dev/test or standalone usage, we should document somewhere to run with --rgw-dns-name YOUR_DOMAIN_NAME in case hostname style bucket access is desired. For example, in the ephemeral docker case you'd run something like this:

docker run -p 7480:7480 quay.io/s3gw/s3gw:latest --rgw-backend-store sfs --debug-rgw 1 --rgw-dns-name YOUR_DOMAIN_NAME

(This was originally reported on Slack at https://rancher-users.slack.com/archives/C04DCMUV8SE/p1696951336295009 when testing using a Java app using Amazon's S3Client class. This class apparently defaults to hostname style buckets, but can be made to using path style buckets by setting forcePathStyle = true.)

@github-project-automation github-project-automation bot moved this to Backlog in S3GW Oct 12, 2023
@github-actions github-actions bot added the triage/waiting Waiting for triage label Oct 12, 2023
@tserong tserong added the kind/documentation Improvements or additions to documentation label Oct 12, 2023
@jecluis
Copy link
Contributor

jecluis commented Oct 12, 2023

For consistency with the project, I think this is the kind of thing that should also be wrapped by an entrypoint script. I kind of hate bleeing rgw options to the user.

@jecluis
Copy link
Contributor

jecluis commented Oct 12, 2023

That and, when using the s3gw image, it should not be optional to use the sfs driver.

@tserong
Copy link
Contributor Author

tserong commented Oct 12, 2023

That and, when using the s3gw image, it should not be optional to use the sfs driver.

100%

@jecluis jecluis self-assigned this Oct 14, 2023
@jecluis jecluis moved this from Backlog to In Progress 🏗️ in S3GW Oct 14, 2023
jecluis referenced this issue in jecluis/s3gw Oct 14, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
jecluis referenced this issue in jecluis/s3gw Oct 14, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
@jecluis jecluis removed the triage/waiting Waiting for triage label Oct 14, 2023
@jecluis jecluis added this to the v0.22.0 milestone Oct 14, 2023
jecluis referenced this issue in jecluis/s3gw Oct 21, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
jecluis referenced this issue in jecluis/s3gw Oct 21, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
jecluis referenced this issue in jecluis/s3gw Oct 23, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
@jecluis jecluis modified the milestones: v0.22.0, v0.23.0 Oct 25, 2023
@vmoutoussamy vmoutoussamy added the priority/1 Should be fixed for next release label Nov 15, 2023
jecluis referenced this issue in jecluis/s3gw Nov 15, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
jecluis referenced this issue in jecluis/s3gw Nov 15, 2023
Fixes: aquarist-labs/s3gw#754

Signed-off-by: Joao Eduardo Luis <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress 🏗️ to Done in S3GW Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Improvements or additions to documentation priority/1 Should be fixed for next release
Projects
None yet
3 participants