Skip to content
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

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

sttts
Copy link
Member

@sttts sttts commented Jul 18, 2022

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.

@openshift-ci openshift-ci bot requested review from ncdc and stevekuznetsov July 18, 2022 07:43
@sttts sttts force-pushed the sttts-front-proxy-external-url branch from 1a69a40 to 0745ee5 Compare July 18, 2022 07:43
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 18, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2022
@@ -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),
Copy link
Contributor

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

@p0lyn0mial
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 18, 2022
@sttts
Copy link
Member Author

sttts commented Jul 18, 2022

/retest

1 similar comment
@sttts
Copy link
Member Author

sttts commented Jul 18, 2022

/retest

@sttts
Copy link
Member Author

sttts commented Jul 18, 2022

/test e2e

1 similar comment
@sttts
Copy link
Member Author

sttts commented Jul 18, 2022

/test e2e

@sttts
Copy link
Member Author

sttts commented Jul 18, 2022

/override ci/prow/e2e

This does not touch e2e job.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 18, 2022

@sttts: Overrode contexts on behalf of sttts: ci/prow/e2e

In response to this:

/override ci/prow/e2e

This does not touch e2e job.

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.

@openshift-ci openshift-ci bot merged commit bbcd85e into kcp-dev:main Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants