diff --git a/pkg/controller/serviceaccount/serviceaccount.go b/pkg/controller/serviceaccount/serviceaccount.go index 7212f7e..6aa6b4c 100644 --- a/pkg/controller/serviceaccount/serviceaccount.go +++ b/pkg/controller/serviceaccount/serviceaccount.go @@ -10,6 +10,7 @@ import ( corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" clientcmdlatest "k8s.io/client-go/tools/clientcmd/api/latest" diff --git a/pkg/controller/serviceaccount/tokens.go b/pkg/controller/serviceaccount/tokens.go index 4702d0d..f318818 100644 --- a/pkg/controller/serviceaccount/tokens.go +++ b/pkg/controller/serviceaccount/tokens.go @@ -3,6 +3,7 @@ package serviceaccount import ( "context" "fmt" + "github.com/pkg/errors" corev1 "k8s.io/api/core/v1"