From 7e1e95071884f319616f5c7137dab41f7e66a3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= Date: Wed, 16 Oct 2024 16:17:16 +0200 Subject: [PATCH] Update code for removed cmapichecker parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- cli/internal/kube/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/internal/kube/client.go b/cli/internal/kube/client.go index 791ef654..9507b2a9 100644 --- a/cli/internal/kube/client.go +++ b/cli/internal/kube/client.go @@ -15,7 +15,6 @@ import ( "github.com/cert-manager/cert-manager/pkg/util/cmapichecker" "github.com/edgelesssys/marblerun/cli/internal/helm" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" @@ -64,7 +63,7 @@ func NewCertManagerChecker() (cmapichecker.Interface, error) { return nil, err } - return cmapichecker.New(kubeConfig, runtime.NewScheme(), "default") + return cmapichecker.New(kubeConfig, "default") } func getRestConfig() (*rest.Config, error) {