eks-anywhere
eks-anywhere copied to clipboard
Package Installation Fails on workload cluster with IAM Auth kubeconfig
What happened: Installing package controller when using AWS IAM Auth kubeconfig returns the following error:
eksctl anywhere install packagecontroller -f $CLUSTER_NAME.yaml
Error: Unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
What you expected to happen: Package installation to work
How to reproduce it (as minimally and precisely as possible):
Create a IAM Auth enabled workload cluster and set the KUBECONFIG env var to the IAM Auth kubeconfig
Anything else we need to know?:
Environment:
- EKS Anywhere Release: v0.11.1
- EKS Distro Release: v1.23
A couple thoughts here, I think the credentials used for the package controller and aws-iam-authenticator would be different and it may be that aws-iam-authenticator would be installed as a package.
Is this a bug or a feature request?
Is this a bug or a feature request?
Can be either. I will let you guys decide 😁