Closed FriedCircuits closed 4 years ago
It seems Kubebox is not able to execute aws-iam-authenticator
. Could you try running:
$ which aws-iam-authenticator
Could you provide your kubeconfig details with the auth provider section as well.
MacOS: /usr/local/bin/aws-iam-authenticator
contexts:
- context:
cluster: eks-cluster
user: aws
name: aws
current-context: aws
kind: Config
preferences: {}
users:
- name: aws
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
command: aws-iam-authenticator
args:
- "token"
- "-i"
- "eks-cluster"
env:
- name: "AWS_PROFILE"
value: "default"
Im presenting the same issue.
There was an issue with setting environment variables see #63
You can workaround this by specifying the path to the executable in your kube config:
command: /usr/local/bin/aws-iam-authenticator
Thanks!
Thanks everyone. Until there is a release I was able to get it to work with the workaround by specifying the full path for aws-iam-authenticator and aws binaries.
I am trying to use kubebox with AWS EKS. I updated to 0.6.0 which supports the exec auth. I have been unsuccessful in connecting due to the following error:
spawn aws-iam-authenticator ENOENT
Pasting in a token doesn't seem to work either.
Any ideas? What am I missing?