Add ingress.kubernetes.io/ssl-redirect-return-code
annotation
#7128
Labels
area/ingress
Issues related to changes in `kind: Ingress`
proposal
An issue that proposes a feature request
ready for refinement
An issue that was triaged and it is ready to be refined
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 usedAcceptance Criteria
ingress.kubernetes.io/ssl-redirect
to be set first.Additional details
This aligns with functionality currently available through VirtualServer with TLS.Redirect
The text was updated successfully, but these errors were encountered: