-
Notifications
You must be signed in to change notification settings - Fork 353
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
HTTPS redirect annotation does not work #992
Comments
Hi! Latest is https://github.com/zalando/skipper/releases/tag/v0.10.186 , but this won’t fix the ingress annotation. |
thanks for update @szuecs able to disable the HTTPS redirect with suggestion above, it seems this is by default available even cmd line options is not defined...correct? Annotations are not working, after disabling the HTTPS redirect, tried to enable via annotations, but not working, seems a bug, even not able to view annotations in YAML output, blank annotations. Thx |
@sandeepsharmadevops thanks for testing the annotation! |
@szuecs yes, it make sense to enable it oob, in case someone want to disable it, can be done via controller, only downside of this, that it applies globally, until annotations working. one more thing, i was evaluating ip whitelisting via annotations, it working fine as expected and throwing 404, can we customize the response status code/content. Intention is to allow only few ip ranges for rest send 404 with custom content. |
Hi @szuecs could you please share info about the above. Thanks in advance. |
@sandeepsharmadevops Sorry for not replying, missed this comment. If the annotation is not working it is a bug. I have to test it and then fix it.
You can pass |
Thanks for update @szuecs even i was not looking for the prompt response. I will try your suggestions and let you know. Also let me know once bug in annotation gets fixed, i will test and let you know about the status. Thanks Again!!! |
Using the annotation does work, double check that your annotation is using quotes around the value, otherwise Skipper will ignore it.
|
Signed-off-by: Sandor Szücs <[email protected]>
* make docs more clear and add links from reference to tutorial Signed-off-by: Sandor Szücs <[email protected]> * make also #992 more clear Signed-off-by: Sandor Szücs <[email protected]>
what is the status of this issue I would like to contribute to skipper (Kubernetes ingress controller area) and was searching for my first issue 😄 |
@myaser the issue is not fixed. |
Hi There!
I have recently started evaluating the Skipper as an ingress controller for K8S, at very initial level need info on how to disable the HTTPS redirect, i have tried the below but nothing worked for me so far.
using latest version of skipper 0.10.180
below cmd line options are not passed, but HTTP --> HTTPS is happening, is this there OOB?, can we disable from skipper cmd line option?
-kubernetes-https-redirect
-kubernetes-https-redirect-code
tried to disable via annotations in ingress k8s object, but still redirection is happening, how to disable it
zalando.org/skipper-ingress-redirect: false
NOTE: as current i don't have requirement to redirect HTTP --> HTTPS
Thx.
The text was updated successfully, but these errors were encountered: