diff --git a/examples/manifests/role.yaml b/examples/manifests/role.yaml index 2d8a5599..660fd1f4 100644 --- a/examples/manifests/role.yaml +++ b/examples/manifests/role.yaml @@ -25,6 +25,7 @@ rules: resources: - pods verbs: + - list - get - update - apiGroups: diff --git a/jsonnet/lib/thanos-receive-controller.libsonnet b/jsonnet/lib/thanos-receive-controller.libsonnet index 8f78b5b0..1bdbbdc4 100644 --- a/jsonnet/lib/thanos-receive-controller.libsonnet +++ b/jsonnet/lib/thanos-receive-controller.libsonnet @@ -77,7 +77,7 @@ function(params) { { apiGroups: [''], resources: ['pods'], - verbs: ['get', 'update'], + verbs: ['list', 'get', 'update'], }, { apiGroups: ['apps'],