mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
make controller port exposure optional
This commit is contained in:
@@ -128,7 +128,9 @@ func Run(s *options.CMServer) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
go startHTTP(s)
|
if s.Port >= 0 {
|
||||||
|
go startHTTP(s)
|
||||||
|
}
|
||||||
|
|
||||||
recorder := createRecorder(kubeClient)
|
recorder := createRecorder(kubeClient)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user