# RBAC config for kube-apiserver to access kubelet-server
# https://github.com/kubernetes/kubernetes/issues/55872
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: system:kubelet-api-admin
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:kubelet-api-admin
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: system:kubelet-api-admin
