experimental/v1alpha1->extensions/v1beta1

This commit is contained in:
Chao Xu
2015-10-09 15:01:33 -07:00
parent 983f056514
commit 0b7e3c7dd1
17 changed files with 32 additions and 32 deletions

View File

@@ -33,11 +33,11 @@ func init() {
// TODO: caesarxuchao: rename this variable to validGroupVersions
validAPIVersions := map[string]bool{
"v1": true,
"experimental/v1alpha1": true,
"extensions/v1beta1": true,
}
// The default list of supported api versions, in order of most preferred to the least.
defaultSupportedVersions := "v1,experimental/v1alpha1"
defaultSupportedVersions := "v1,extensions/v1beta1"
// Env var KUBE_API_VERSIONS is a comma separated list of API versions that should be registered in the scheme.
// The versions should be in the order of most preferred to the least.
supportedVersions := os.Getenv("KUBE_API_VERSIONS")