Let kube-apiserver host the storage version API

Co-authored-by: Haowei Cai <haoweic@google.com>
This commit is contained in:
Chao Xu
2020-02-24 15:28:51 -08:00
committed by Haowei Cai
parent 3cf80090f0
commit 86dd4ce3b5
16 changed files with 569 additions and 2 deletions

View File

@@ -275,6 +275,7 @@ var apiVersionPriorities = map[schema.GroupVersion]priority{
{Group: "discovery.k8s.io", Version: "v1beta1"}: {group: 16200, version: 12},
{Group: "discovery.k8s.io", Version: "v1alpha1"}: {group: 16200, version: 9},
{Group: "flowcontrol.apiserver.k8s.io", Version: "v1alpha1"}: {group: 16100, version: 9},
{Group: "internal.apiserver.k8s.io", Version: "v1alpha1"}: {group: 16000, version: 9},
// Append a new group to the end of the list if unsure.
// You can use min(existing group)-100 as the initial value for a group.
// Version can be set to 9 (to have space around) for a new group.