fix bug in apiserver.k8s.io install
Kubernetes-commit: f66c9b388fd276293ac9b430cac2ecf88b236e5d
This commit is contained in:
parent
3664ae76d4
commit
166387d3d7
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue