k3s/recipes/metrics-server/auth-reader.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

15 lines
324 B
YAML

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: metrics-server-auth-reader
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: extension-apiserver-authentication-reader
subjects:
- kind: ServiceAccount
name: metrics-server
namespace: kube-system