如何找到 Helm 的关联服务帐户?

How to find the associated service account for Helm?

在 Helm 3 之前,可以通过

在 helm 初始化中关联服务帐户
helm init --service-account tiller

但由于 helm init 现已弃用,我们如何才能找出 Helm 与哪个服务帐户相关联?

Helm 3 将根据您的系统环境变量 $KUBECONFIG 具有相同的权限,默认为 ~/.kube/config 或使用以下选项

      --kube-context string              name of the kubeconfig context to use
      --kubeconfig string                path to the kubeconfig file

With Tiller gone, the security model for Helm is radically simplified. Helm 3 now supports all the modern security, identity, and authorization features of modern Kubernetes. Helm’s permissions are evaluated using your kubeconfig file. Cluster administrators can restrict user permissions at whatever granularity they see fit. — Changes since Helm 2: Removal of Tiller