Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit d2d2b35

Browse files
authored
allow configmap/secret list verb (#244)
1 parent 7eaedf2 commit d2d2b35

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

manifests/controller/argocd-notifications-controller-role.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ rules:
1414
- watch
1515
- update
1616
- patch
17+
- apiGroups:
18+
- ""
19+
resources:
20+
- configmaps
21+
- secrets
22+
verbs:
23+
- list
24+
- watch
1725
- apiGroups:
1826
- ""
1927
resourceNames:
@@ -22,8 +30,6 @@ rules:
2230
- configmaps
2331
verbs:
2432
- get
25-
- list
26-
- watch
2733
- apiGroups:
2834
- ""
2935
resourceNames:
@@ -32,5 +38,3 @@ rules:
3238
- secrets
3339
verbs:
3440
- get
35-
- list
36-
- watch

manifests/install-bot.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ rules:
5050
- watch
5151
- update
5252
- patch
53+
- apiGroups:
54+
- ""
55+
resources:
56+
- configmaps
57+
- secrets
58+
verbs:
59+
- list
60+
- watch
5361
- apiGroups:
5462
- ""
5563
resourceNames:
@@ -58,8 +66,6 @@ rules:
5866
- configmaps
5967
verbs:
6068
- get
61-
- list
62-
- watch
6369
- apiGroups:
6470
- ""
6571
resourceNames:
@@ -68,8 +74,6 @@ rules:
6874
- secrets
6975
verbs:
7076
- get
71-
- list
72-
- watch
7377
---
7478
apiVersion: rbac.authorization.k8s.io/v1
7579
kind: RoleBinding

manifests/install.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ rules:
1919
- watch
2020
- update
2121
- patch
22+
- apiGroups:
23+
- ""
24+
resources:
25+
- configmaps
26+
- secrets
27+
verbs:
28+
- list
29+
- watch
2230
- apiGroups:
2331
- ""
2432
resourceNames:
@@ -27,8 +35,6 @@ rules:
2735
- configmaps
2836
verbs:
2937
- get
30-
- list
31-
- watch
3238
- apiGroups:
3339
- ""
3440
resourceNames:
@@ -37,8 +43,6 @@ rules:
3743
- secrets
3844
verbs:
3945
- get
40-
- list
41-
- watch
4246
---
4347
apiVersion: rbac.authorization.k8s.io/v1
4448
kind: RoleBinding

0 commit comments

Comments
 (0)