From 37925a5642c86db11e9f50c4dd42bb93a3e389ab Mon Sep 17 00:00:00 2001 From: Jaryk Date: Tue, 19 Nov 2024 14:30:53 +0100 Subject: [PATCH] Support k8s oidc auth (#429) --- pkg/utils/kubernetes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/utils/kubernetes.go b/pkg/utils/kubernetes.go index 7a44b6d8..abc3d020 100644 --- a/pkg/utils/kubernetes.go +++ b/pkg/utils/kubernetes.go @@ -6,6 +6,7 @@ import ( "github.com/grafana/xk6-disruptor/pkg/types/intstr" corev1 "k8s.io/api/core/v1" + _ "k8s.io/client-go/plugin/pkg/client/auth" // initialize auth plugins ) // GetTargetPort returns the target port for the given service port