Skip to content

Commit

Permalink
exporter needs patch permissions
Browse files Browse the repository at this point in the history
Part of the exporter's new approach to filter throttled pipelineruns because
of the pipeline controller's aggressiver requeue strategy with throttling is that
it labels the pipelinerun for later filtering.  However, the original introduction of
the changes did not add patch permissions to the exporter's RBAC.  This change
addresses that.

rh-pre-commit.version: 2.1.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
gabemontero committed Feb 1, 2024
1 parent 448cdcf commit cdb42c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rules:

- apiGroups: ["tekton.dev"]
resources: ["pipelineruns", "taskruns"]
verbs: ["get", "list", "watch"]
verbs: ["get", "list", "watch", "patch"]

- nonResourceURLs:
- "/metrics"
Expand Down

0 comments on commit cdb42c7

Please sign in to comment.