diff --git a/services/apiserver.go b/services/apiserver.go index 289ab5f2b23b701d51631df3252c5746beb72db7..002b4662cf87f43f871488056c1ed03d1c62f1f9 100644 --- a/services/apiserver.go +++ b/services/apiserver.go @@ -154,14 +154,6 @@ func buildConfig(c *Cluster) (config *server.Config, clients *k8s.Clients, err e sets.NewString("attach", "exec", "proxy", "log", "portforward"), ) - // Disable unneeded post start hooks, these cannot be easily disabled except at runtime, which still takes up - // space in the binary sadly - config.DisabledPostStartHooks = sets.NewString( - "storage-object-count-tracker-hook", // unused - "start-legacy-token-tracking-controller", // legacy and unused - "rbac/bootstrap-roles", // TODO replaced with our own simpler RBAC - ) - // Setup listener // TODO listen on management interface only, this is temporary so that the api is reachable on // localhost