-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to makes changes to the default rule for a listener? #1672
Comments
@C2L2C Also, i think we should consider offer a easier way to configure HTTP_HTTPS redirect, something in my mind like
And the semantic of above annotation is redirect all HTTP port to this 443 port. |
@M00nF1sh I will try the ingress group method as you said. Is there a way to change the default rule for a listener through the controller? |
Can confirm that it works using the Port 80 ingress config :
Port 443 ingress config :
Important thing to note above is that we have the same |
/kind feature |
You can give this yaml a try, it works to me #487 (comment) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
My use case is to enable SSL redirection from port 80 to 443 The problem is, even after I use the
ssl-redirection
annotation, it works but creates the SSL redirection rules per host on the 80 listener, which is not efficient. Another way to do this would be to add a default SSL redirection rule to the listener on port 80 but I can't seem to find it in the docs. Please help!!The text was updated successfully, but these errors were encountered: