make v1 the preferred api version

This commit is contained in:
Chao Xu
2015-06-04 13:14:40 -07:00
parent b42869181a
commit dfc77f7883

View File

@@ -35,7 +35,7 @@ func init() {
}
// The default list of supported api versions, in order of most preferred to the least.
defaultSupportedVersions := "v1beta3,v1"
defaultSupportedVersions := "v1,v1beta3"
// 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")