apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  labels:
    app.kubernetes.io/component: kubernetes-operator
    app.kubernetes.io/instance: configmap-operator
    app.kubernetes.io/name: configmap-operator
  name: configmap-operator-rolebinding
  namespace: configmap-operator-demo
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: configmap-operator-role
subjects:
- kind: ServiceAccount
  name: configmap-operator-sa
  namespace: configmap-operator-demo
