use Install instead of AddToScheme due to deprecation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
parent
c1fe43efe7
commit
4e5c42a4bf
@ -72,7 +72,7 @@ func NewClients(t *testing.T, config *rest.Config) (kubernetes.Interface, intern
|
||||
certmgrscheme.AddToScheme(scheme)
|
||||
apiext.AddToScheme(scheme)
|
||||
apireg.AddToScheme(scheme)
|
||||
gwapi.AddToScheme(scheme)
|
||||
gwapi.Install(scheme)
|
||||
|
||||
return cl, factory, cmCl, cmFactory, scheme
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user