cozystack/packages/system/bucket/templates
IvanHunters f647cfd7b9 [bucket] Fix s3manager endpoint to use actual S3 endpoint from BucketInfo
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 <xorokhotnikov@gmail.com>
2026-03-13 01:08:13 +03:00
..
deployment.yaml [bucket] Fix s3manager endpoint to use actual S3 endpoint from BucketInfo 2026-03-13 01:08:13 +03:00
ingress.yaml refactor(bucket): replace basic auth with s3manager login page 2026-03-04 18:47:51 +03:00
secret.yaml refactor(bucket): replace basic auth with s3manager login page 2026-03-04 18:47:51 +03:00
service.yaml Add WebUI for S3 bucket (#413) 2024-10-10 12:12:25 +02:00
user-credentials.yaml feat(bucket): include COSI user credential secrets in dashboard 2026-03-03 19:32:32 +03:00