-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Run openshift aggregated behind kube #18652
Run openshift aggregated behind kube #18652
Conversation
f56a1bd
to
d5135a6
Compare
@diegs this is where my head is at. |
e535466
to
0560aaf
Compare
/retest |
0560aaf
to
5cce750
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k 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 |
cf26d46
to
df19af4
Compare
/retest |
fa5fa67
to
5861580
Compare
/retest |
ah, I need hypershift in an image before service-catalog will pass. |
/test end_to_end |
/retest |
1 similar comment
/retest |
9b38e05
to
2d89a7c
Compare
/retest |
/retest |
/hold got a wrong commit in here somehow |
77db27b
to
40c590b
Compare
/hold cancel fixed |
@@ -9,7 +9,7 @@ import ( | |||
"github.com/openshift/origin/pkg/oc/bootstrap" | |||
) | |||
|
|||
func substitute(in string, replacements map[string]string) string { | |||
func Substitute(in string, replacements map[string]string) string { |
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.
why making this public?
@@ -284,6 +284,12 @@ func (s *APIAggregator) AddAPIService(apiService *apiregistration.APIService) er | |||
s.GenericAPIServer.Handler.NonGoRestfulMux.Handle(proxyPath, proxyHandler) | |||
s.GenericAPIServer.Handler.NonGoRestfulMux.UnlistedHandlePrefix(proxyPath+"/", proxyHandler) | |||
|
|||
enableOapiHack := true |
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.
What's the point of this?
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.
was asking @deads2k the same... this is to proxy securely to /oapi as there is no way to register that in the apiservice API.... so this is fine and we should remove this when we deprecate /oapi...
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.
Yeah, I get that, what I was asking why we need this true variable which is checked right in the next line?
40c590b
to
8a8283e
Compare
comments addressed. |
/test service-catalog |
@jpeeler Excellent! Thanks. |
I have only one question, but overall this lgtm. |
@deads2k: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
/hold SC is still having trouble. passes in "normal" run though. |
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/18652/test_pull_request_origin_service_catalog/194/ appears to be failing because the origin image does not include It fails on an invocation like |
Merging this from a service catalog standpoint is fine. The image usage is not properly sorted out yet. |
/hold cancel |
Automatic merge from submit-queue (batch tested with PRs 18778, 18709, 18876, 18897, 18652). |
This is ready for review. I've split some bits out into separate pulls to make it easier to review. It separates openshift-apiserver and kube-apiserver and successfully produces a working cluster by aggregating openshift-apiserver using cluster up (on my machine).