Commit f416e38a authored by David Eads's avatar David Eads

make controller port exposure optional

parent 29aff5bf
......@@ -128,7 +128,9 @@ func Run(s *options.CMServer) error {
return err
}
go startHTTP(s)
if s.Port >= 0 {
go startHTTP(s)
}
recorder := createRecorder(kubeClient)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment