mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
log enabled admission controller in order
This commit is contained in:
parent
04634cb198
commit
4c6db2516a
@ -23,6 +23,7 @@ import (
|
||||
"io/ioutil"
|
||||
"reflect"
|
||||
"sort"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/golang/glog"
|
||||
@ -144,6 +145,9 @@ func (ps *Plugins) NewFromPlugins(pluginNames []string, configProvider ConfigPro
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(pluginNames) != 0 {
|
||||
glog.Infof("Loaded %d admission controller(s) successfully in the following order: %s.", len(pluginNames), strings.Join(pluginNames, ","))
|
||||
}
|
||||
return chainAdmissionHandler(handlers), nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user