diff --git a/charts/etcd-operator/templates/rbac/clusterrole-manager-role.yml b/charts/etcd-operator/templates/rbac/clusterrole-manager-role.yml index ccb982ac..6cc79370 100644 --- a/charts/etcd-operator/templates/rbac/clusterrole-manager-role.yml +++ b/charts/etcd-operator/templates/rbac/clusterrole-manager-role.yml @@ -17,6 +17,22 @@ rules: - patch - update - watch + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - secrets + verbs: + - list + - get + - watch - apiGroups: - "" resources: diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 69ccd7d7..319a30b6 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -30,7 +30,7 @@ rules: - secrets verbs: - list - - view + - get - watch - apiGroups: - ""