-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
cluster-only service's URL might not be right #4204
Comments
|
@markusthoemmes thanks. Why do we need to include a scheme at all since it might not even support http? |
@duglin We require to support HTTP, don't we (today at least)? It makes it far easier for a client to decide which URL to hit. |
Not sure - I'm assuming someone can setup their ingress to only accept https which means the http URL would be incorrect. Would be odd to mandate an insecure connection. |
You're talking about a non-knative managed ingress? That's certainly true, yes. I'll defer to @ZhiminXiang and @tcnghia who are far more knowledgeable on the HTTPS terrain than I am. |
This seems like a bug in the application of the domain template. @duglin do you want to send a PR? |
need some guidance from @ZhiminXiang @tcnghia first on how things should look |
@ZhiminXiang @tcnghia WDYT? |
The For private Knative service, we should not apply |
Fixes knative#4204 Signed-off-by: Doug Davis <[email protected]>
) Fixes #4204 Signed-off-by: Doug Davis <[email protected]>
In what area(s)?
/area networking
What version of Knative?
0.6.0
Issue
I created an internal only service via:
I also modified by domainTemplate to use
-
instead of.
between the service name and the domain name.When I look at the
status
section of this service I see this (removed the noise):First, some questions:
address.hostname
anddomainInternal
?url
appears to be new for v0.6 - why is it needed? It seems a bit odd to assume thathttp
is the preferred protocol. Why not just have the hostname and let the user decide if they want to use http or https?The issue:
domain: echo-internal-default.svc.cluster.local
andurl: http://echo-internal-default.svc.cluster.local
both use-
in the url so I'm assuming these are meant to be externally facing URLs, however this is an internal only service./cc @ZhiminXiang @tcnghia
The text was updated successfully, but these errors were encountered: