How can I go get this kubernetes package.
I have tried the following
go get k8s.io/kubernetes/pkg/serviceaccount
but I get the error
go: k8s.io/[email protected]: reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0
any suggestions on how I get it ?
It looks like the kubernetes version which you are trying is not available. Please update your go.mod file to use an updated version.
Require { k8s.io/api v0.22.1}and try running‘go get k8s.io/kubernetes/pkg/serviceaccount’again. Please check this official page, and also check this comment.