How to use helm with token based authentication system on EKS

11/9/2018

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.

-- doer_uvc
amazon-eks
client-side
kubectl
kubernetes
kubernetes-helm

1 Answer

11/9/2018

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 .

-- mk_sta
Source: StackOverflow