Aleksei Sviridkin 7a8d1267f2 fix(seaweedfs): point S3 consumers at the reachable S3 service (#3119)
## What this PR does

The S3 Service is named with the release-independent `seaweedfs.name`
helper (always `seaweedfs-s3`), but several in-chart consumers still
resolved it through `componentName` (`<fullname>-s3`). Since the shipped
release is `seaweedfs-system`, those consumers pointed at
`seaweedfs-system-s3` — a Service that does not exist — so ingress-nginx
returns 503 on the external S3 endpoint and the COSI provisioner cannot
reach S3 in-cluster.

This aligns every in-chart S3 consumer with the actual Service:

- S3 ingress backend and iceberg ingress backend → `seaweedfs-s3` (fixes
the 503 on the default `s3.ingress.enabled: true` path).
- COSI provisioner in-cluster `ENDPOINT` (both the s3-gateway and
filer-S3 branches) → `seaweedfs-s3` on the configured S3 port. These
were also portless (defaulting to 443 against an S3 that listens on
8333), and the filer branch additionally targeted the filer Service,
which serves no S3.

The all-in-one ingress branch is intentionally left on `componentName
"all-in-one"` (a different Service). Changes are captured as a
downstream patch (`s3-service-name-consumers.patch`) wired into `make
update`, and pinned by helm-unittest rendered under the production
release name so the mismatch cannot recur.

### Release note

```release-note
fix(seaweedfs): point the S3 ingress, iceberg ingress, and COSI provisioner endpoint at the actual seaweedfs-s3 service, fixing 503 on the external S3 endpoint
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated S3-related routing and in-cluster endpoints to use the correct
service name and explicit port values.
* Improved ingress behavior for newer Kubernetes versions while keeping
compatibility with older versions.
  * Preserved the existing all-in-one routing path for S3 deployments.

* **Tests**
* Added coverage for S3 service naming, ingress backend routing, and
COSI endpoint resolution to prevent regressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-29 11:24:49 +03:00
2025-10-08 09:43:34 +05:00
2025-04-01 18:48:14 +02:00
2024-02-08 12:04:32 +01:00

Cozystack Cozystack

Open Source Apache-2.0 License Support Active GitHub Release GitHub Commit OpenSSF Best Practices

Cozystack

Cozystack is a free platform and framework for building clouds.

Cozystack is a CNCF Sandbox Level Project that was originally built and sponsored by Ænix.

With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.

Use Cozystack to build your own cloud or provide a cost-effective development environment.

Cozystack user interface

Use-Cases

Documentation

The documentation is located on the cozystack.io website.

Read the Getting Started section for a quick start.

If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.

Versioning

Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.

Contributions

Contributions are highly appreciated and very welcomed!

In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.

You can express your intention to on the fix on your own. Commits are used to generate the changelog, and their author will be referenced in it.

If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.

Community

You are welcome to join our Telegram group and come to our weekly community meetings. Add them to your Google Calendar or iCal for convenience.

License

Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.

Commercial Support

A list of companies providing commercial support for this project can be found on official site.

Languages
Go 48%
Shell 37%
TypeScript 6.9%
Go Template 5.3%
Makefile 1.4%
Other 1.2%