HTTPRoute CRD, for redirect action type the response status code must be in the range 300-399
progS1m opened this issue · 4 comments
progS1m commented
Describe the bug
I noticed in the HTTPRoute CRD for redirects has this validation:
minimum: 100
maximum: 599
Problem, when configuring a 404 this leads to an error and would either not work. See printscreen.
Expected behavior
Should be set to
minimum: 300
maximum: 399
Additional context
GUI Error shows that redirects only supports values from 300-399:
progS1m commented
I know for 404 Responder the workaround is to use a Rewrite-Responder: https://github.com/citrix/citrix-k8s-ingress-controller/blob/master/docs/crds/rewrite-responder.md
aroraharsh23 commented
@progS1m Thanks for reporting, will review and correct the same.
bharthi-m commented
ankits123 commented
closing the issue