Skip to content

[Backport release-1.1] [bucket] Fix s3manager endpoint mismatch with COSI credentials#2215

Merged
kvaps merged 1 commit intorelease-1.1from
backport-2211-to-release-1.1
Mar 13, 2026
Merged

[Backport release-1.1] [bucket] Fix s3manager endpoint mismatch with COSI credentials#2215
kvaps merged 1 commit intorelease-1.1from
backport-2211-to-release-1.1

Conversation

@github-actions
Copy link

Description

Backport of #2211 to release-1.1.

…Info

The deployment template was constructing the S3 endpoint from the tenant's
namespace host (e.g. s3.freedom.infra.example.com), while COSI credentials
are issued for the actual SeaweedFS endpoint (e.g. s3.infra.example.com).
This mismatch caused 'invalid credentials' errors when users tried to log
in with valid credentials from the bucket secret.

Now the endpoint is resolved from BucketInfo (same source as credentials),
with a fallback to the constructed namespace host for first-time deploys
before BucketAccess secrets are created.

Signed-off-by: IvanHunters <[email protected]>
(cherry picked from commit f647cfd)
@kvaps kvaps merged commit 803d6b1 into release-1.1 Mar 13, 2026
1 check passed
@kvaps kvaps deleted the backport-2211-to-release-1.1 branch March 13, 2026 15:24
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants