Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions data/trusted_task_rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trusted_task_rules:
allow:
- name: Implicitly trust all tasks from konflux-ci/tekton-catalog
pattern: oci://quay.io/konflux-ci/tekton-catalog/*
Comment on lines +1 to +4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do it like this then we are more consistent with the other rule data handling, wdyt.

Suggested change
trusted_task_rules:
allow:
- name: Implicitly trust all tasks from konflux-ci/tekton-catalog
pattern: oci://quay.io/konflux-ci/tekton-catalog/*
rule_data:
trusted_task_rules:
allow:
- name: Implicitly trust all tasks from konflux-ci/tekton-catalog
pattern: oci://quay.io/konflux-ci/tekton-catalog/*

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I agree

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

though the policy lib expects it to be trusted_task_rules, should I change it there?

Loading