removes k8s.io/kubernetes/pkg/api dependency from the webhook plugin.

This commit is contained in:
p0lyn0mial
2017-10-09 22:15:25 +02:00
parent 4f00d3a67d
commit fa96700b76
13 changed files with 82 additions and 18 deletions

View File

@@ -484,6 +484,7 @@ func BuildGenericConfig(s *options.ServerRunOptions, proxyTransport *http.Transp
certBytes,
keyBytes,
kubeClientConfig,
api.Scheme,
pluginInitializer)
if err != nil {
return nil, nil, nil, nil, nil, fmt.Errorf("failed to initialize admission: %v", err)