Wire in bootstrap and token controllers.
This adds these to the list of controllers the Controller Manager can start. But as these are alpha, they are also currently disabled by default.
This commit is contained in:
@@ -270,7 +270,10 @@ func KnownControllers() []string {
|
||||
return sets.StringKeySet(newControllerInitializers()).List()
|
||||
}
|
||||
|
||||
var ControllersDisabledByDefault = sets.NewString()
|
||||
var ControllersDisabledByDefault = sets.NewString(
|
||||
"bootstrapsigner",
|
||||
"tokencleaner",
|
||||
)
|
||||
|
||||
func newControllerInitializers() map[string]InitFunc {
|
||||
controllers := map[string]InitFunc{}
|
||||
@@ -291,6 +294,8 @@ func newControllerInitializers() map[string]InitFunc {
|
||||
controllers["cronjob"] = startCronJobController
|
||||
controllers["certificatesigningrequests"] = startCSRController
|
||||
controllers["ttl"] = startTTLController
|
||||
controllers["bootstrapsigner"] = startBootstrapSignerController
|
||||
controllers["tokencleaner"] = startTokenCleanerController
|
||||
|
||||
return controllers
|
||||
}
|
||||
|
Reference in New Issue
Block a user