Skip to content

Commit

Permalink
update admission webhook to accept client config
Browse files Browse the repository at this point in the history
Kubernetes-commit: 0859798e8e278ec382dcbeb77914f40bf2c78a2c
  • Loading branch information
deads2k authored and k8s-publish-robot committed Oct 18, 2017
1 parent 8a63a53 commit 66b8443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (o WardleServerOptions) Config() (*apiserver.Config, error) {
return nil, err
}

if err := o.Admission.ApplyTo(&serverConfig.Config, serverConfig.SharedInformerFactory, nil, nil, serverConfig.ClientConfig, apiserver.Scheme, admissionInitializer); err != nil {
if err := o.Admission.ApplyTo(&serverConfig.Config, serverConfig.SharedInformerFactory, serverConfig.ClientConfig, serverConfig.ClientConfig, apiserver.Scheme, admissionInitializer); err != nil {
return nil, err
}

Expand Down

0 comments on commit 66b8443

Please sign in to comment.