Ensure storage version is understood by prior releases

This commit is contained in:
Jordan Liggitt
2021-03-05 17:52:22 -05:00
parent b458d97feb
commit 86a8271624
3 changed files with 64 additions and 1 deletions

View File

@@ -122,6 +122,9 @@ func StartRealMasterOrDie(t *testing.T, configFuncs ...func(*options.ServerRunOp
kubeClientConfig.QPS = 99999
kubeClientConfig.Burst = 9999
// we make requests to all resources, don't log warnings about deprecated ones
restclient.SetDefaultWarningHandler(restclient.NoWarnings{})
kubeClient := clientset.NewForConfigOrDie(kubeClientConfig)
go func() {