Open
Description
Overview
Configuring the ingress.kubernetes.io/ssl-redirect
annotation in Ingress sets and unconditional 301 redirect rule for all incoming HTTP traffic to force incoming traffic over HTTPS.
In scenarios where users want to prevent the request method from changing, code 308 would be required
For context on return code 308
The goal of this story is to allow users to set the return code when ingress.kubernetes.io/ssl-redirect
annotation is used
Acceptance Criteria
- Requires
ingress.kubernetes.io/ssl-redirect
to be set first. - Allow annotation to be set to either 301, 302, 307 or 308
Additional details
This aligns with functionality currently available through VirtualServer with TLS.Redirect
Metadata
Metadata
Assignees
Type
Projects
Status
Todo ☑