Skip to content

Commit 5e4a576

Browse files
author
Kamil
committed
update clusterrole and apigroups
Signed-off-by: Kamil <[email protected]>
1 parent 59c1655 commit 5e4a576

File tree

3 files changed

+33
-8
lines changed

3 files changed

+33
-8
lines changed

deploy/hubble/manifests/controller/helm/retina/templates/agent/clusterrole.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,29 @@ rules:
1515
resources: ["clusterobservers"]
1616
verbs: ["get", "list", "watch"]
1717
- apiGroups:
18-
- retina.io
18+
- retina.sh
1919
resources:
2020
- retinaendpoints
2121
verbs:
2222
- get
2323
- list
2424
- watch
25+
- apiGroups:
26+
- retina.sh
27+
resources:
28+
- captures
29+
verbs:
30+
- get
31+
- list
32+
- watch
33+
- apiGroups:
34+
- batch
35+
resources:
36+
- jobs
37+
verbs:
38+
- get
39+
- list
40+
- watch
2541
- apiGroups:
2642
- cilium.io
2743
resources:
@@ -43,7 +59,7 @@ rules:
4359
- watch
4460
{{- if .Values.operator.enabled }}
4561
- apiGroups:
46-
- retina.io
62+
- retina.sh
4763
resources:
4864
- retinaendpoints
4965
verbs:
@@ -55,7 +71,7 @@ rules:
5571
- update
5672
- watch
5773
- apiGroups:
58-
- retina.io
74+
- retina.sh
5975
resources:
6076
- metricsconfigurations
6177
verbs:
@@ -67,13 +83,13 @@ rules:
6783
- update
6884
- watch
6985
- apiGroups:
70-
- retina.io
86+
- retina.sh
7187
resources:
7288
- retinaendpoints/finalizers
7389
verbs:
7490
- update
7591
- apiGroups:
76-
- retina.io
92+
- retina.sh
7793
resources:
7894
- retinaendpoints/status
7995
verbs:

deploy/hubble/manifests/controller/helm/retina/templates/operator/clusterrole.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ rules:
5252
verbs:
5353
- get
5454
- apiGroups:
55-
- retina.io
55+
- retina.sh
5656
resources:
5757
- captures
5858
verbs:
@@ -64,13 +64,13 @@ rules:
6464
- update
6565
- watch
6666
- apiGroups:
67-
- retina.io
67+
- retina.sh
6868
resources:
6969
- captures/finalizers
7070
verbs:
7171
- update
7272
- apiGroups:
73-
- retina.io
73+
- retina.sh
7474
resources:
7575
- captures/status
7676
verbs:

deploy/standard/manifests/controller/helm/retina/templates/rbac.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ rules:
2121
- retina.sh
2222
resources:
2323
- retinaendpoints
24+
- captures
25+
verbs:
26+
- get
27+
- list
28+
- watch
29+
- apiGroups:
30+
- batch
31+
resources:
32+
- jobs
2433
verbs:
2534
- get
2635
- list

0 commit comments

Comments
 (0)