# ClusterRoleBinding — bind ServiceAccount ao ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: pod-reader-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: pod-reader
subjects:
- kind: ServiceAccount
  name: monitoring-sa
  namespace: monitoring
- kind: User
  name: jane
  apiGroup: rbac.authorization.k8s.io