publish cluster authentication trust via controller

This commit is contained in:
David Eads
2019-09-09 10:17:00 -04:00
parent a89265b441
commit 7351c86860
10 changed files with 1094 additions and 14 deletions

View File

@@ -141,7 +141,9 @@ func startMasterOrDie(masterConfig *master.Config, incomingServer *httptest.Serv
stopCh := make(chan struct{})
closeFn := func() {
m.GenericAPIServer.RunPreShutdownHooks()
if m != nil {
m.GenericAPIServer.RunPreShutdownHooks()
}
close(stopCh)
s.Close()
}