feat(reconciler): filter TaskRun/PipelineRun by spec.managedBy - #1882
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1882 +/- ##
==========================================
+ Coverage 62.10% 62.15% +0.05%
==========================================
Files 64 64
Lines 4072 4088 +16
==========================================
+ Hits 2529 2541 +12
- Misses 1264 1266 +2
- Partials 279 281 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3badbab to
ab870dd
Compare
| }, Grafeas: GrafeasConfig{ | ||
| NoteHint: "This attestation note was generated by Tekton Chains", | ||
| }, | ||
| Storage: StorageConfigs{ |
There was a problem hiding this comment.
This change is due to gofumt.
71ed838 to
e017145
Compare
Skip signing runs managed by external controllers by filtering on the spec.managedBy field at the informer level. Runs with nil, empty, or "tekton.dev/pipeline" managedBy are always accepted. Additional values can be allowed via the "filter.managed-by" key in chains-config. Signed-off-by: Khurram Baig <khurram.baig@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Khurram Baig <kbaig@redhat.com>
e017145 to
2a4777a
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkhelil The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
khrm
left a comment
There was a problem hiding this comment.
@infernus01 Can you please review and merge this?
Skip signing runs managed by external controllers by filtering on the spec.managedBy field at the informer level. Runs with nil, empty, or "tekton.dev/pipeline" managedBy are always accepted. Additional values can be allowed via the "filter.managed-by" key in chains-config.
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes