Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use helm with token based authentication system on EKS

We use helm to manage our kubernetes applications. We use kubectl commands like this : kubectl --token $TOKEN get pods

So we use token based authentication system to run kubectl as opposed to auth info stored at ~/.kube/config file.

Now problem is : We are not able to run any of helm commands as all helm commands throw : Error: Unauthorized.

So question is how to use helm with token based authentication system.

Context : Recently our DevOps team moved from self managed K8S to amazon's EKS. Only mechanism they provided to authenticate kubectl is through token.

like image 214
Utsav Chokshi Avatar asked Oct 18 '25 13:10

Utsav Chokshi


1 Answers

Currently Helm does not support Token based authorization mechanism with Kubernetes API. Therefore, there is no option for user-provided bearer token verification.You can find Github issue with a proposal of Authentication and Authorization support in Tiller.

Helm 3 Design Proposal has been announced with a significant changes to be implemented such as the new Security concepts .

like image 172
Nick_Kh Avatar answered Oct 21 '25 04:10

Nick_Kh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!