Skip to content

Conversation

@deads2k
Copy link
Contributor

@deads2k deads2k commented May 24, 2017

This builds on @mfojtik's pull to simplify the wiring and reduce us to a single list.

@enj if you have time to review before dcut, you'll thank yourself

@deads2k
Copy link
Contributor Author

deads2k commented May 24, 2017

[test]

Copy link
Contributor

@enj enj left a comment

Choose a reason for hiding this comment

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

LGTM minus #14293 (comment)

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 25, 2017
@mfojtik
Copy link
Contributor

mfojtik commented May 25, 2017

@deads2k fixed @enj and rebased against Clayton informers in service account.

saTokens.ServiceServingCA = append(saTokens.ServiceServingCA, serviceServingCA...)
}
ret["serviceaccount-tokens"] = saTokens.RunController
// this matches the upstream name
Copy link
Contributor

Choose a reason for hiding this comment

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

can we rename the controller as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can we rename the controller as well?

doing.


ret["serviceaccount-pull-secrets"] = controller.RunServiceAccountPullSecretsController
ret["origin-namespace"] = controller.RunOriginNamespaceController
ret["openshift.io/serviceaccount-pull-secrets"] = controller.RunServiceAccountPullSecretsController
Copy link
Contributor

Choose a reason for hiding this comment

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

openshift.io/controllers/ ?

how about some generator with:

ret.AddOpenShiftController(controller.RunServiceAccount...)
ret.AddKubeController(...)

return ret.InitializersMap()

too much?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

openshift.io/controllers/ ?

how about some generator with:

ret.AddOpenShiftController(controller.RunServiceAccount...)
ret.AddKubeController(...)

return ret.InitializersMap()
too much?

I think we actually end up creating a method to create NewKubeControllerInitializers and then one method that does NewAllControllerInitializers or something. That will help us prep for splitting apart.

@mfojtik
Copy link
Contributor

mfojtik commented May 25, 2017

2 small nits, LGTM after rebase and green test :-)

@deads2k deads2k force-pushed the controller-06-wire branch from 6fe293e to f73a372 Compare June 6, 2017 15:06
@deads2k
Copy link
Contributor Author

deads2k commented Jun 6, 2017

comments addressed. [merge]

@deads2k deads2k removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 6, 2017
@deads2k deads2k force-pushed the controller-06-wire branch from f73a372 to 4e4253f Compare June 6, 2017 16:52
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 4e4253f

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1979/) (Base Commit: 5cfbdc3)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 4e4253f

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/942/) (Base Commit: c9a1d10)

@deads2k
Copy link
Contributor Author

deads2k commented Jun 14, 2017

included in #14317

@deads2k deads2k closed this Jun 14, 2017
@deads2k deads2k deleted the controller-06-wire branch August 3, 2017 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants