Fix external hostname for root shard#70
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@mjudeikis: The following tests failed, say
DetailsInstructions 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. I understand the commands that are listed here. |
| clusterDomain = "cluster.local" | ||
| } | ||
|
|
||
| return fmt.Sprintf("%s-kcp.%s.svc.%s", r.Name, r.Namespace, clusterDomain) |
There was a problem hiding this comment.
This feels wrong. So far, e.g. in the Helm chart, we've set --external-hostname to the ... well, external hostname, i.e. the public DNS entry that points to the front-proxy. Now this is a purely cluster-internal name, and these URLs won't be useful to users (and in fact leak information like the namespace).
There was a problem hiding this comment.
But I can also see from the PR description what you are trying to do. I'm confused now what this flag should be ... I wonder if we have a more general architecture problem.
There was a problem hiding this comment.
Once OIDC lands I will come back to this. Having a lot of testing in my env for these things.
|
I think this is wrong too now. |
Summary
After the change:
What Type of PR Is This?
Related Issue(s)
Fixes ##69
Release Notes