Skip to content

any way to get kubeconfig using sdkV2? #2684

Answered by RanVaknin
Horiodino asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Horiodino ,

Thanks for reaching out. I assume you are talking about k8s-sigs/aws-iam-authenticator?

Since that package is what pulls the SDK and not vice versa, I suggest opening an issue on their github asking them to support v2, especially since v1 is on the road for deprecation.

My only experience with k8 is through EKS which abstracts all the auth part through IRSA. I'm not sure about your use case but if you can use EKS to manage your k8 infrastructure it would circumvent the need to manage authentication through a third party tool. With IRSA your EKS cluster has its auth layer that is abstracted and automatically refreshes the EKS token needed to make requests via the SDK.

I als…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lucix-aws
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants