Helm in a kops cluster with RBAC
Posted on May 25, 2018 (Last modified on July 11, 2024) • 1 min read • 184 wordsI created a K8S cluster on AWS with kops.
I ran helm init
to install tiller in the cluster.
I ran helm list
to see if it worked.
I got this:
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" \
cannot list configmaps in the namespace "kube-system"
That sucked. And google proved … reluctant. What I could figure out is:
Just do exactly as it says in the helm docs 🙂 :
kube-system/tiller
service account, and binds this to the cluster-admin
role.helm init -service-account tiller
Is that secure? Not so much. With helm you can still do anything to the cluster at all. I might get to this in a later post.