Regenerate everything

This commit is contained in:
Jan Safranek 2017-04-25 10:13:38 +02:00
parent 9d0c47f1db
commit cde2746821
2 changed files with 6 additions and 7 deletions

View File

@ -113,14 +113,14 @@
"path": "/apis/settings.k8s.io", "path": "/apis/settings.k8s.io",
"description": "get information of a group" "description": "get information of a group"
}, },
{
"path": "/apis/storage.k8s.io/v1beta1",
"description": "API at /apis/storage.k8s.io/v1beta1"
},
{ {
"path": "/apis/storage.k8s.io/v1", "path": "/apis/storage.k8s.io/v1",
"description": "API at /apis/storage.k8s.io/v1" "description": "API at /apis/storage.k8s.io/v1"
}, },
{
"path": "/apis/storage.k8s.io/v1beta1",
"description": "API at /apis/storage.k8s.io/v1beta1"
},
{ {
"path": "/apis/storage.k8s.io", "path": "/apis/storage.k8s.io",
"description": "get information of a group" "description": "get information of a group"

View File

@ -38,8 +38,7 @@ func Install(groupFactoryRegistry announced.APIGroupFactoryRegistry, registry *r
if err := announced.NewGroupMetaFactory( if err := announced.NewGroupMetaFactory(
&announced.GroupMetaFactoryArgs{ &announced.GroupMetaFactoryArgs{
GroupName: storage.GroupName, GroupName: storage.GroupName,
// TODO: change the order when GKE supports v1 VersionPreferenceOrder: []string{v1.SchemeGroupVersion.Version, v1beta1.SchemeGroupVersion.Version},
VersionPreferenceOrder: []string{v1beta1.SchemeGroupVersion.Version, v1.SchemeGroupVersion.Version},
ImportPrefix: "k8s.io/client-go/pkg/apis/storage", ImportPrefix: "k8s.io/client-go/pkg/apis/storage",
RootScopedKinds: sets.NewString("StorageClass"), RootScopedKinds: sets.NewString("StorageClass"),
AddInternalObjectsToScheme: storage.AddToScheme, AddInternalObjectsToScheme: storage.AddToScheme,