From ce01a9aa61720333588e10323df147422598fd89 Mon Sep 17 00:00:00 2001 From: Saylor Berman Date: Mon, 11 Mar 2024 08:57:49 -0600 Subject: [PATCH] remove client --- tests/suite/system_suite_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/suite/system_suite_test.go b/tests/suite/system_suite_test.go index ecfc60c3ef..f758bd98b1 100644 --- a/tests/suite/system_suite_test.go +++ b/tests/suite/system_suite_test.go @@ -21,7 +21,6 @@ import ( k8sRuntime "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/wait" - "k8s.io/client-go/kubernetes" ctlr "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/log" @@ -61,7 +60,6 @@ var ( //go:embed manifests/* manifests embed.FS k8sClient client.Client - clientGoClient kubernetes.Interface // used for getting Pod logs resourceManager framework.ResourceManager portForwardStopCh = make(chan struct{}, 1) portFwdPort int @@ -105,9 +103,6 @@ func setup(cfg setupConfig, extraInstallArgs ...string) { k8sClient, err = client.New(k8sConfig, options) Expect(err).ToNot(HaveOccurred()) - clientGoClient, err = kubernetes.NewForConfig(k8sConfig) - Expect(err).ToNot(HaveOccurred()) - timeoutConfig = framework.DefaultTimeoutConfig() resourceManager = framework.ResourceManager{ K8sClient: k8sClient,