Files
cozystack/packages/system
Aleksei Sviridkin bdbf1ca810 feat(seaweedfs): backport Gateway API HTTPRoutes for s3 and filer
Moving the platform's tenant ingress to Gateway API needs a route
object for the S3 endpoint and the filer. Upstream added them after
4.48 and first shipped them in 4.49; this package stays on 4.48, so
they arrive here as a patch that `make update` applies until the chart
moves to a release that carries them. Both stay off by default, so the
rendered release is unchanged; nothing is switched to Gateway API by
this change.

Adapted from upstream commit 68af030e381f ("helm: add Gateway API
HTTPRoute for master, volume, filer, s3 and admin"):

- The s3 route's default backend is `<name>-s3` instead of
  componentName, the name s3-service-name.patch gives the Service.
  Upstream's form diverges from the real Service whenever the
  fullname differs from seaweedfs.name, the chart name unless
  nameOverride is set.
- Only the s3 and filer routes and their values blocks are taken; the
  master, volume and admin routes, the README section and the CI
  workflow change are left out.

With security enabled and no httpsPort, the standalone s3 gateway
serves TLS on its main port (s3-tls-main-port.patch), so a Gateway
sending plaintext to the default backend needs a BackendTLSPolicy
alongside the route.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-19 19:30:23 +03:00
..
…
…
…