apiVersion: rbac.authorization.k8s.io/v1
# This role binding allows "jane" to read pods in the "default" namespace.
# You need to already have a Role named "pod-reader" in that namespace.
kind: ClusterRoleBinding
metadata:
  name: tenant-api
subjects:
- kind: ServiceAccount
  namespace: default
  name: tenant-api
roleRef:
  kind: ClusterRole #this must be Role or ClusterRole
  name: cluster-admin
  apiGroup: rbac.authorization.k8s.io
