This commit is contained in:
xuzhonghu 2018-05-11 17:17:16 +08:00
parent e59ae29fbc
commit 0c77bcd3ea

View File

@ -51,7 +51,7 @@ func NewCustomResourceDefinitionsServerOptions(out, errOut io.Writer) *CustomRes
StdErr: errOut, StdErr: errOut,
} }
// the shared informer is not needed for kube-aggregator. Disable the kubeconfig flag and the client creation. // the shared informer is not needed for apiextentions apiserver. Disable the kubeconfig flag and the client creation.
o.RecommendedOptions.CoreAPI = nil o.RecommendedOptions.CoreAPI = nil
return o return o