make v1 the preferred api version
This commit is contained in:
@@ -35,7 +35,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The default list of supported api versions, in order of most preferred to the least.
|
// 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.
|
// 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.
|
// The versions should be in the order of most preferred to the least.
|
||||||
supportedVersions := os.Getenv("KUBE_API_VERSIONS")
|
supportedVersions := os.Getenv("KUBE_API_VERSIONS")
|
||||||
|
Reference in New Issue
Block a user