clusterrolebinding.yaml 327 B

123456789101112
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: ClusterRoleBinding
  3. metadata:
  4. name: endpoints-reader
  5. subjects:
  6. - kind: ServiceAccount
  7. name: endpoints-reader
  8. namespace: kevin # the namespace that the ServiceAccount resides in
  9. roleRef:
  10. kind: ClusterRole
  11. name: endpoints-reader
  12. apiGroup: rbac.authorization.k8s.io