use Install instead of AddToScheme due to deprecation

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Tim Ramlot 2024-05-17 14:42:07 +02:00
parent c1fe43efe7
commit 4e5c42a4bf
No known key found for this signature in database
GPG Key ID: 47428728E0C2878D

View File

@ -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
}