Repository navigation
Closed
Labels
priority: highHigh prioritytype: deliveryRelated to packaging, deployment etc.type: featureNew feature or requestworkload: daysLikely takes days to resolve
Description
Problem
The foca-common library chart and the deployment docs support two ways to expose an app: an Ingress, tuned for ingress-nginx (body size limit, TLS redirect and rate limit annotations, NetworkPolicy peers for the ingress-nginx namespace), and an OpenShift Route. ingressClassName can be set, but nothing else is covered:
- ingress-nginx is retired: Kubernetes SIG Network and the Security Response Committee announced best-effort maintenance only until March 2026 and no releases or security fixes after that, and recommend migrating to the Gateway API (announcement, statement of January 2026).
- The chart has no Gateway API
HTTPRoute. - Common controllers such as Traefik (the default on k3s and Rancher) and the cloud providers' load balancers get no guidance: the ingress-nginx annotations do nothing there, so the body size limit, HTTPS redirect and rate limits silently don't apply, and the default NetworkPolicy peers don't match their pods.
Ease of deployment drives adoption, so FOCA apps should deploy cleanly on the common setups.
Expected
foca-common: optional Gateway API support: anHTTPRoute(gateway.networking.k8s.io/v1) for the app's host and paths, attached to an existing Gateway (parentRefsfrom values), with the same path rules as the Ingress (e.g., blocked admin paths). Ingress, Route and HTTPRoute stay mutually exclusive; schema, template tests and the kind install test cover it (kind can run a Gateway API implementation, e.g., Envoy Gateway, if feasible; otherwise template tests).- Body size limits and HTTPS redirects for the HTTPRoute where the Gateway API offers them; otherwise documented, and the app's own
max_content_lengthstays the enforcing limit. - NetworkPolicy peers configurable for any controller, with documented values for ingress-nginx, Traefik, the OpenShift router and a Gateway implementation.
- Docs (deployment guide / chart docs): a short section per setup: Gateway API (recommended for new clusters), ingress-nginx (retired; migration note), Traefik, OpenShift, cloud load balancers (pointers only), each with the values and annotations for body size, TLS/HTTPS redirect, rate limiting and NetworkPolicy.
- A chart version bump (minor) and release notes.
Apps using the chart (cloud-registry, proTES) document their app-specific bits only and link here.
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritytype: deliveryRelated to packaging, deployment etc.type: featureNew feature or requestworkload: daysLikely takes days to resolve
Activity
uniqueg commentedon Oct 22, 2026
Done in #404.