Skip to content

disable custom error page for some specific ingress when global custom error page is enabled #10066

@lwabish

Description

@lwabish

I have enabled custom error page globally by following custom-errors.
But some workload in kubernetes needs the original error response to work correctly.So I have to disable custom error page for some ingress.
From what I can gather based on my research of official documentation and search engine results, it appears that currently the only way to override specific status codes from the global custom HTTP error settings is by setting the nginx.ingress.kubernetes.io/custom-http-errors annotation for the ingress.
However, it seems that it is not possible to completely disable custom http errors for some ingress when custom error page is configuared globally.
Do we need to add this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions