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

Reduce the indirection by directly referencing controllers #694

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

alenkacz
Copy link
Contributor

@alenkacz alenkacz commented Aug 5, 2019

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
I find the way kubebuilder registers controllers very complicated. There are multiple levels of indirection basically calling methods back and forth and it's hard to figure out what is happening. This simplifies it a little bit by going away from init functions and directly referencing all the controllers. We might follow up with cleaning this up even a bit more :)

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@jbarrick-mesosphere
Copy link
Member

/approve

@kudo-ci
Copy link

kudo-ci commented Aug 13, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alenkacz, gerred, jbarrick-mesosphere

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:
  • OWNERS [alenkacz,gerred,jbarrick-mesosphere]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alenkacz alenkacz merged commit eddf74b into master Aug 13, 2019
@kudo-ci kudo-ci deleted the av/kubebuilder-indirection branch August 13, 2019 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants