kubernetes/ingress-nginx

Feature Request: Allow disabling custom-http-errors per ingress

Open

#8,384 opened on Mar 23, 2022

View on GitHub
 (17 comments) (2 reactions) (2 assignees)Go (7,888 forks)batch import
good first issuehelp wantedkind/featureneeds-triagepriority/backlog

Repository metrics

Stars
 (15,199 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When nginx.ingress.kubernetes.io/custom-http-errors is set to string off, overwrite the configmap value with an empty list instead of skipping it.

My current work-around is to use the 418 HTTP code (nginx.ingress.kubernetes.io/custom-http-errors: "418") because my apps aren't using it :wink:

Contributor guide