fix bug in apiserver.k8s.io install

Kubernetes-commit: f66c9b388fd276293ac9b430cac2ecf88b236e5d
This commit is contained in:
hzxuzhonghu 2018-03-13 14:47:05 +08:00 committed by Kubernetes Publisher
parent 3664ae76d4
commit 166387d3d7
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func Install(groupFactoryRegistry announced.APIGroupFactoryRegistry, registry *r
if err := announced.NewGroupMetaFactory(
&announced.GroupMetaFactoryArgs{
GroupName: apiserver.GroupName,
RootScopedKinds: sets.NewString("APIService"),
RootScopedKinds: sets.NewString("AdmissionConfiguration"),
VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version},
AddInternalObjectsToScheme: apiserver.AddToScheme,
},