Skip to content

Commit 0d9d0b7

Browse files
authored
fix(helm)[#22]: add RBAC permissions to manager role, to allow watch and get on CMs (#40)
* fix(reconciler)[#33]: fix race condition on cm update Signed-off-by: Georgy Khromov <[email protected]> * fix(helm)[#22]: added RBAC permissions to manager role (allow watch on cms) Signed-off-by: Georgy Khromov <[email protected]> --------- Signed-off-by: Georgy Khromov <[email protected]>
1 parent 34c8b4a commit 0d9d0b7

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

helm/argocd-rbac-operator/templates/manager_role.yaml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,21 @@ rules:
99
resources:
1010
- configmaps
1111
verbs:
12+
- get
1213
- list
14+
- watch
1315
- apiGroups:
1416
- rbac-operator.argoproj-labs.io
1517
resources:
1618
- argocdrolebindings
19+
- argocdroles
1720
verbs:
1821
- '*'
19-
- get
20-
- list
2122
- apiGroups:
2223
- rbac-operator.argoproj-labs.io
2324
resources:
2425
- argocdrolebindings/finalizers
25-
verbs:
26-
- '*'
27-
- apiGroups:
28-
- rbac-operator.argoproj-labs.io
29-
resources:
3026
- argocdrolebindings/status
31-
verbs:
32-
- '*'
33-
- apiGroups:
34-
- rbac-operator.argoproj-labs.io
35-
resources:
36-
- argocdroles
37-
verbs:
38-
- '*'
39-
- get
40-
- list
41-
- apiGroups:
42-
- rbac-operator.argoproj-labs.io
43-
resources:
4427
- argocdroles/finalizers
4528
verbs:
4629
- '*'
@@ -50,6 +33,3 @@ rules:
5033
- argocdroles/status
5134
verbs:
5235
- '*'
53-
- get
54-
- patch
55-
- update

0 commit comments

Comments
 (0)