mirror of https://github.com/k3s-io/k3s
make controller port exposure optional
parent
29aff5bf47
commit
f416e38a1e
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue