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

start a command for running the template service broker #15655

Merged
merged 1 commit into from
Aug 8, 2017

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Aug 7, 2017

This stubs in a command with the full set of "normal" flags. I didn't see admission plugins, so those aren't wired up.

You'll need to finish the client config wiring for clients and informers, but this shows you'll need to add those.

@liggitt @bparees @jim-minter

@openshift-merge-robot openshift-merge-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 7, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 7, 2017
@bparees
Copy link
Contributor

bparees commented Aug 7, 2017

/cc @smarterclayton

if err != nil {
return err
}
return server.GenericAPIServer.PrepareRun().Run(stopCh)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, but maybe name server here something slightly different so it doesn't conflict with the imported pkg "github.com/openshift/origin/pkg/openservicebroker/server"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, but maybe name server here something slightly different so it doesn't conflict with the imported pkg "github.com/openshift/origin/pkg/openservicebroker/server"

As I make it more apiserver like, I think we'll change in the other direction.

@deads2k
Copy link
Contributor Author

deads2k commented Aug 7, 2017

/test extended_conformance_install_update

@deads2k
Copy link
Contributor Author

deads2k commented Aug 7, 2017

/retest

1 similar comment
@deads2k
Copy link
Contributor Author

deads2k commented Aug 7, 2017

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Aug 7, 2017

We seem to be having some weird yum and docker issues across multiple pulls.

@deads2k
Copy link
Contributor Author

deads2k commented Aug 7, 2017

#8571

/test end_to_end

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, soltysh

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@bparees bparees removed 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. labels Aug 8, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2017
@bparees bparees removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2017
@openshift openshift deleted a comment from soltysh Aug 8, 2017
@bparees bparees removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2017
@deads2k
Copy link
Contributor Author

deads2k commented Aug 8, 2017

@bparees I think you're looking for do-not-merge. Comment as to why?

@deads2k
Copy link
Contributor Author

deads2k commented Aug 8, 2017

@bparees I think you're looking for do-not-merge. Comment as to why?

This is a building block for #15672 which makes the TSB a completely separable component, including a template to use it.

@deads2k deads2k added do-not-merge lgtm Indicates that a PR is ready to be merged. labels Aug 8, 2017

func (o TemplateServiceBrokerServerOptions) Config() (*server.TemplateServiceBrokerConfig, error) {
// TODO have a "real" external address
if err := o.RecommendedOptions.SecureServing.MaybeDefaultWithSelfSignedCerts("localhost", nil, []net.IP{net.ParseIP("127.0.0.1")}); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at what point is this going to serve with a cert signed by the cluster CA? Isn't that going to be necessary for the SC to cleanly talk to it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at what point is this going to serve with a cert signed by the cluster CA? Isn't that going to be necessary for the SC to cleanly talk to it?

Never. Serving will happen with a cert created and signed by the service serving cert signing. This sets up a default if you don't pass one in, making the "no args run" work.

@deads2k
Copy link
Contributor Author

deads2k commented Aug 8, 2017

/test verify

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue

@openshift-merge-robot openshift-merge-robot merged commit ce2c135 into openshift:master Aug 8, 2017
@deads2k deads2k deleted the server-21-tsb branch January 24, 2018 14:31
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. retest-not-required size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants