Skip to content
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

Assume Role to find EKS cluster for config update #9364

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

5nafu
Copy link

@5nafu 5nafu commented Mar 13, 2025

Issue #, if available: #8554

Description of changes:

This PR will assume a given role when trying to update the kubeconfig.

While aws eks update-kubeconfig --role-arn... would add the required parameters to the user section of the configfile, but will fail finding the cluster if the original profile does not have access. This PR will fix the issue and assume the role before getting the cluster description.

This commit will assume a given role when trying to update the
kubeconfig.

While `aws eks update-kubeconfig --role-arn...` would add the required
parameters to the user section of the configfile, but will fail finding
the cluster if the original profile does not have access.
This commit will fix the issue and assume the role before getting the
cluster description.

Fixes aws#8554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant