Skip to content

Commit fb4fa05

Browse files
authored
grant cloudwatch agent permission to call endpointslices API (#172)
1 parent 497e498 commit fb4fa05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/amazon-cloudwatch-observability/templates/cloudwatch-agent-clusterrole.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ rules:
99
- apiGroups: [ "" ]
1010
resources: [ "pods", "pods/logs", "nodes", "nodes/proxy", "namespaces", "endpoints" ]
1111
verbs: [ "list", "watch", "get" ]
12+
- apiGroups: ["discovery.k8s.io"]
13+
resources: ["endpointslices"]
14+
verbs: ["list", "watch", "get"]
1215
- apiGroups: [ "" ]
1316
resources: [ "services" ]
1417
verbs: [ "list", "watch" ]

0 commit comments

Comments
 (0)