kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: mongodb-database
subjects:
- kind: ServiceAccount
roleRef:
kind: Role
apiGroup: rbac.authorization.k8s.io