mirror of https://github.com/k3s-io/k3s
Merge pull request #58018 from deads2k/controller-04-option
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. make controller port exposure optional Makes it possible to disable the http server part of controllers if a user wishes.pull/6/head
commit
3af0b57e80
|
@ -128,7 +128,9 @@ func Run(s *options.CMServer) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if s.Port >= 0 {
|
||||
go startHTTP(s)
|
||||
}
|
||||
|
||||
recorder := createRecorder(kubeClient)
|
||||
|
||||
|
|
Loading…
Reference in New Issue