k3s/recipes/metrics-server/auth-delegator.yaml
William Zhang 8258f0fa38 Use the latest apiVersion in k8s-v1.14.x
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-04-12 09:30:17 +08:00

14 lines
303 B
YAML

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: metrics-server:system:auth-delegator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: metrics-server
namespace: kube-system