Closed nlowe closed 5 years ago
Credential providers and full kubeconfig loading are out of scope for this client, which is intended for in-cluster configs.
If you'd like to parse and load it yourself, use Client.SetHeader or provide an http.Client with a custom tls.Config https://godoc.org/github.com/ericchiang/k8s#Client
kubectl
(and other tools based onclient-go
) support credential plugins like aws-iam-authenticator. However, when I interact with the API to an EKS cluster via this package, it doesn't seem to be callingaws-iam-authenticator
. For example: Getting all pods in the default namespace: