Skip to content

Commit

Permalink
add rbac for pod listing
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
gabemontero committed Feb 21, 2024
1 parent 4d33205 commit 1ddc253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/base/100-watcher-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ rules:
verbs: ["get", "list", "watch"]
# Required to read logs, when logs API is enabled
- apiGroups: [""]
resources: ["pods/log"]
verbs: ["get"]
resources: ["pods/log", "pods"]
verbs: ["get", "list"]
- apiGroups: ["tekton.dev"]
resources: ["pipelines"]
verbs: ["get"]
Expand Down

0 comments on commit 1ddc253

Please sign in to comment.