From b8dcd05ffbe0b39f9cdd6a3e8aaaaa371de664e7 Mon Sep 17 00:00:00 2001 From: Kavinraja-G Date: Sun, 10 Sep 2023 21:12:41 +0530 Subject: [PATCH] Remove kube-bouncer dependency --- go.mod | 1 - go.sum | 2 -- pkg/auth/k8s.go | 3 ++- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 6546afa..e989f79 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/Kavinraja-G/node-gizmo go 1.20 require ( - github.com/Kavinraja-G/kube-bouncer v0.1.0 github.com/olekukonko/tablewriter v0.0.5 github.com/spf13/cobra v1.7.0 k8s.io/api v0.28.0 diff --git a/go.sum b/go.sum index 3198c59..7a16b1d 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/Kavinraja-G/kube-bouncer v0.1.0 h1:W+iKmWtiXGESGTUeoEyfkPJiY11WwB5UJKvmX7wffs0= -github.com/Kavinraja-G/kube-bouncer v0.1.0/go.mod h1:Q6O83zLQUv0XnxrY63ZsqFiYjTbpMcDVO5bpB7SuzGw= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= diff --git a/pkg/auth/k8s.go b/pkg/auth/k8s.go index 72c969d..c216cc4 100644 --- a/pkg/auth/k8s.go +++ b/pkg/auth/k8s.go @@ -4,7 +4,8 @@ import ( "log" "path/filepath" - "github.com/Kavinraja-G/kube-bouncer/pkg/utils" + "github.com/Kavinraja-G/node-gizmo/pkg/utils" + "k8s.io/client-go/rest" "k8s.io/client-go/util/homedir"