Error: Upgrade failed: the server has asked for the client to provide credentials (get configmaps)
Error: Upgrade failed: the server has asked for the client to provide credentials (get configmaps)
使用 Kubernetes 部署应用程序时出现以下异常:
错误:升级失败:服务器要求客户端提供凭据(获取配置映射)
有人可以告诉我哪些凭据是 rancher 抱怨的,应用程序凭据还是 helm 和 tiller 凭据?
使用 RBAC Authorization or RoleBinding and ClusterRoleBinding 似乎有问题
在这里您可以找到 examples 之一:
Allow reading a ConfigMap named “my-config” (must be bound with a RoleBinding to limit to a single ConfigMap in a single namespace):
rules:
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["my-config"]
verbs: ["get"]
请关注类似issues related to k8s authorization in rancher and for helm。
希望对您有所帮助。
使用 Kubernetes 部署应用程序时出现以下异常:
错误:升级失败:服务器要求客户端提供凭据(获取配置映射)
有人可以告诉我哪些凭据是 rancher 抱怨的,应用程序凭据还是 helm 和 tiller 凭据?
使用 RBAC Authorization or RoleBinding and ClusterRoleBinding 似乎有问题
在这里您可以找到 examples 之一:
Allow reading a ConfigMap named “my-config” (must be bound with a RoleBinding to limit to a single ConfigMap in a single namespace):
rules:
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["my-config"]
verbs: ["get"]
请关注类似issues related to k8s authorization in rancher and for helm。
希望对您有所帮助。