Error: configmaps is forbidden: User "system:serviceaccount:kubesystem:default" cannot list resource "configmaps" in API group "" in the namespace "kubesystem"

kubectl create serviceaccount --namespace kube-system tiller

kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
原文地址:https://www.cnblogs.com/cheyunhua/p/15534570.html