Skip to content

Commit

Permalink
pass kubeClient to admission service
Browse files Browse the repository at this point in the history
Signed-off-by: jianmin qian <qianjianmin@huawei.com>
  • Loading branch information
jianmin qian authored and Thor-wl committed Sep 18, 2021
1 parent 787c349 commit f1a7044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/webhook-manager/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func Run(config *options.Config) error {
router.ForEachAdmission(config, func(service *router.AdmissionService) {
if service.Config != nil {
service.Config.VolcanoClient = vClient
service.Config.KubeClient = kubeClient
service.Config.SchedulerName = config.SchedulerName
service.Config.Recorder = recorder
service.Config.ConfigData = admissionConf
Expand Down

0 comments on commit f1a7044

Please sign in to comment.