From 1d362ac85d813adce75e3975d27c161e6161f17f Mon Sep 17 00:00:00 2001 From: Tanmay Jain <103629776+tanmayja@users.noreply.github.com> Date: Fri, 16 Jun 2023 15:57:26 +0530 Subject: [PATCH] Adding client-go auth package. (#3) * Adding client-go auth package. --- .github/workflows/golangci-lint.yaml | 2 +- Makefile | 2 +- main.go | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 4e0044f..c350952 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -23,5 +23,5 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.50 + version: v1.52 args: --timeout=5m diff --git a/Makefile b/Makefile index df006e4..c62b3f6 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ $(LOCALBIN): mkdir -p $(LOCALBIN) GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint -GOLANGCI_LINT_VERSION ?= v1.50.1 +GOLANGCI_LINT_VERSION ?= v1.52.2 ENVTEST_K8S_VERSION = 1.26.1 .PHONY: golanci-lint diff --git a/main.go b/main.go index 6a90059..3890697 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,11 @@ limitations under the License. package main -import "github.com/aerospike/aerospike-kubernetes-operator-ctl/cmd" +import ( + _ "k8s.io/client-go/plugin/pkg/client/auth" + + "github.com/aerospike/aerospike-kubernetes-operator-ctl/cmd" +) func main() { cmd.Execute()