Skip to content

fix(chart): drop foca-common ingress-nginx defaults #436

Closed

Description

@uniqueg

Problem

foca-common still favours ingress-nginx, which is retired:

  • The values schema's description of the NetworkPolicy ingressFrom peers, and the petstore example, default to the ingress-nginx namespace.
  • The Ingress template always adds the nginx.ingress.kubernetes.io/proxy-body-size annotation.
  • The OpenShift Route can't be turned off with values, and it exposes every path.

Apps copy these defaults: cloud-registry had to override them (cloud-registry#196).

Expected

  • The library sets no controller-specific defaults. ingressFrom peers have neutral descriptions, and the petstore example uses a documented placeholder, with example peers in the docs for common Ingress controllers and Gateway API implementations.
  • Controller-specific annotations are opt-in, through ingress.annotations, with the body-size example documented per controller.
  • The OpenShift Route is optional through values.
  • The chart tests and snapshots cover the new defaults. The migration guide and the foca-common 0.2.0 release notes mention the change.

This should land before foca-common 0.2.0 is released, so that apps don't copy the old defaults.

Activity

  1. added
    priority: high
    status: triage
    type: bug
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 23, 2026
  2. uniqueg commented on Oct 23, 2026

    @uniqueg
    MemberAuthor

    Done in #440.

  3. removed
    status: in progress
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: hightype: bugworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions