-
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
add wiring for running bare kube-controller-manager #18100
add wiring for running bare kube-controller-manager #18100
Conversation
@@ -135,6 +137,8 @@ func NewCMServer() *CMServer { | |||
|
|||
// AddFlags adds flags for a specific CMServer to the specified FlagSet | |||
func (s *CMServer) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string) { | |||
fs.StringVar(&s.OpenShiftConfig, "openshift-config", s.OpenShiftConfig, "indicates that this process should be compatible with openshift start master") |
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.
We might want to make this a hidden flag
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.
We might want to make this a hidden flag
Ok.
508734e
to
91994d1
Compare
return func() {}, nil | ||
} | ||
|
||
// TODO this gets removed when no longer take flags and no longer build a recycler template |
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.
I've re-organized a bit and added comments about how we can get rid of each of these patches.
/assign mfojtik I've updated this to be cleaner and have criteria for eliminating the patches we're carrying. I think its ready to push forward. |
58b8c50
to
3f09eba
Compare
David gave me some more details about this PR on irc. |
/hold I just want to make sure that @smarterclayton is ready to push on this approach. All the options are bad. |
3f09eba
to
f829b1a
Compare
This doesn't force us to use it, but does organize our patches to make it clear what we're doing /hold cancel |
@soltysh I added another commit to wire up usage in openshift to avoid duplicate methods. Take another look? |
79dd851
to
8d3b3c8
Compare
/retest |
1 similar comment
/retest |
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.
/lgtm
[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 |
/retest |
8d3b3c8
to
bd48fc8
Compare
/retest |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
@smarterclayton @liggitt