-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Fix to #606 not available in released version, eksctl quickstart instructions doesn't work with new style SSO config #640
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened?
I just wanted to bring attention to the fact that the currently released versions of
aws-iam-authenticator
fails to provide authentication to users that have set up authentication using the recommended SSO authentication method.This problem was described in #606 back in June and addressed in master with commit 56b684c in late August. However this update has not been included in any released version of this project, which is unfortunate since the AWS on-boarding documentation encourages users to use the IAM Identity Center.
In other words, a newly signed up AWS user that sets up IAM Identity Center to authenticate, installs the latest released versions of awscli, eksctl (using for example homebrew) and uses something like
eksctl create cluster --name my_cluster --region eu-north-1 --fargate
will end up with a Kubernetes configuration where a trivialkubectl get ns
fails with the following somewhat cryptic error message:could not get token: could not create session: profile "default" is configured to use SSO but is missing required configuration: sso_region, sso_start_url
I have verified that cherry-picking 56b684c onto the v0.6.12 release resolves this problem
What you expected to happen?
I would expect a new user that follows the recommended steps in the AWS on-boarding documentation with the latest released software to succeed connecting to the EKS cluster that gets created when following the on boarding steps.
Anything else we need to know?
No response
Installation tooling
homebrew
AWS IAM Authenticator client version
0.6.12
Client information
Kubernetes API Version
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.9", GitCommit:"a1a87a0a2bcd605820920c6b0e618a8ab7d117d4", GitTreeState:"clean", BuildDate:"2023-04-12T12:16:51Z", GoVersion:"go1.19.8", Compiler:"gc", Platform:"darwin/arm64"}
kubeconfig user
No response
The text was updated successfully, but these errors were encountered: