kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ibm-cloud-databases-redis-operator-rolebinding
  labels:
    app.kubernetes.io/instance: ibm-cloud-databases-redis-operator
    app.kubernetes.io/managed-by: ibm-cloud-databases-redis-operator
    app.kubernetes.io/name: ibm-cloud-databases-redis-operator
subjects:
- kind: ServiceAccount
  name: ibm-cloud-databases-redis-operator-serviceaccount
- kind: ServiceAccount
  name: cpd-admin-sa   # make cpd-admin-sa included otherwise unable to apply CR in the cpd-install-operator pod
- kind: ServiceAccount
  name: cpd-editor-sa   # make cpd-editor-sa included
roleRef:
  kind: Role
  name: ibm-cloud-databases-redis-operator-role
  apiGroup: rbac.authorization.k8s.io
