# Unapplied teaching configuration. Namespace demo must already exist.
apiVersion: v1
kind: ServiceAccount
metadata:
  name: config-reconciler
  namespace: demo
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: config-reconciler
  namespace: demo
rules:
  - apiGroups: ['']
    resources: [configmaps]
    verbs: [get, list, watch, update]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: config-reconciler
  namespace: demo
subjects:
  - kind: ServiceAccount
    name: config-reconciler
    namespace: demo
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: config-reconciler
