-
Notifications
You must be signed in to change notification settings - Fork 83
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
HTTP Policy/behaviour is not supported by KSVC #772
Comments
We have an on-going discussion in knative/networking#417. If you want to have a
Do you mean that the annotation did not work? What values are set in the
Kourier does not support |
Hello @nak3
However, I've just tested with this annotation
|
Hmm... Strange. $ kubectl annotate ksvc hello-example networking.knative.dev/http-protocol=redirected --overwrite
service.serving.knative.dev/hello-example annotated
$ kubectl get king -o template={{.spec.httpOption}} hello-example
Redirected
$ kubectl annotate ksvc hello-example networking.knative.dev/http-protocol=enabled --overwrite
service.serving.knative.dev/hello-example annotated
$ kubectl get king -o template={{.spec.httpOption}} hello-example
Enabled The translation from annotation to |
Maybe it's a knative/net-kourier version related issue 🤔 |
Ah, yes. You are correct. v1.0 does not support |
Yes my bad |
Hello
I want to change the default behaviour of HTTP traffic from "enabled" to whether "redirected" or "disabled".
According to knative documentation , we can do that in different ways:
networking.knative.dev/http-protocol: "<option>"
annotationAlso There is an inconsistency between this doc and this thread as "disabled" option is not mentioned in the first doc
When testing with Kourier, I noticed that only Global setup is supported
Do you confirm that this is a bug?
I can open a PR if necessary
Thank you!
The text was updated successfully, but these errors were encountered: