-
Notifications
You must be signed in to change notification settings - Fork 398
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
sharded-test-server: set shard external URL to front-proxy #1552
sharded-test-server: set shard external URL to front-proxy #1552
Conversation
1a69a40
to
0745ee5
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -76,6 +76,7 @@ func startShard(ctx context.Context, n int, args []string, servingCA *crypto.CA, | |||
"--service-account-key-file=.kcp/service-account.crt", | |||
"--service-account-private-key-file=.kcp/service-account.key", | |||
"--audit-log-path", auditFilePath, | |||
fmt.Sprintf("--shard-external-url=https://%s:%d", hostIP, 6443), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, this points to the front porxy
/lgtm |
/retest |
1 similar comment
/retest |
/test e2e |
1 similar comment
/test e2e |
/override ci/prow/e2e This does not touch e2e job. |
@sttts: Overrode contexts on behalf of sttts: ci/prow/e2e 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. |
Users with kubectl should keep talking to the front-proxy. The shard external URL is what ends up in
ClusterWorkspace.status.baseURL
. This PR wires the front-proxy into the external URL of the shard.