apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: default-reactbasics-rolebinding
  namespace: myproject
subjects:
- kind: ServiceAccount
  name: reactbasics-service-acc
  apiGroup: ""
roleRef:
  kind: Role
  name: default-reactbasics-role
  apiGroup: rbac.authorization.k8s.io