Merge pull request #102197 from liggitt/crd-lifecycle

Propagate server version correctly to apiextensions-apiserver, stop serving v1beta1 CRDs
This commit is contained in:
Kubernetes Prow Robot 2021-05-21 00:28:57 -07:00 committed by GitHub
commit 6eef9fe925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1671 deletions

File diff suppressed because it is too large Load Diff

View File

@ -116,9 +116,11 @@ func (cfg *Config) Complete() CompletedConfig {
}
c.GenericConfig.EnableDiscovery = false
c.GenericConfig.Version = &version.Info{
Major: "0",
Minor: "1",
if c.GenericConfig.Version == nil {
c.GenericConfig.Version = &version.Info{
Major: "0",
Minor: "1",
}
}
return CompletedConfig{&c}