Skip to content

Commit 7140e94

Browse files
authored
Fix k8s permissions (#133)
* Fix k8s permissions * fix ci * fix ci
1 parent 2753f3f commit 7140e94

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/manifests/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ rules:
2525
resources:
2626
- pods
2727
verbs:
28+
- list
2829
- get
2930
- update
3031
- apiGroups:

jsonnet/lib/thanos-receive-controller.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function(params) {
7777
{
7878
apiGroups: [''],
7979
resources: ['pods'],
80-
verbs: ['get', 'update'],
80+
verbs: ['list', 'get', 'update'],
8181
},
8282
{
8383
apiGroups: ['apps'],

0 commit comments

Comments
 (0)