diff --git a/manifests/rbac/controller.yaml b/manifests/rbac/controller.yaml index 7fb181c5..c444c58e 100644 --- a/manifests/rbac/controller.yaml +++ b/manifests/rbac/controller.yaml @@ -23,6 +23,8 @@ rules: resources: - namespaces - secrets + - configmaps + - serviceaccounts verbs: - get - list @@ -34,19 +36,27 @@ rules: verbs: - create - patch +# required by leader election - apiGroups: - - "" + - "" resources: - - configmaps - - configmaps/status + - configmaps verbs: - - get - - list - - watch - - create - - update - - patch - - delete + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - configmaps/status + verbs: + - get + - update + - patch - apiGroups: - "coordination.k8s.io" resources: