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