Skip to content

Commit de1b1a4

Browse files
dheerajodhaclaude
andcommitted
feat: Enable policy docs link in Tekton tasks
Add --show-policy-docs-link=true to all Tekton validation tasks since they run in production/CI environments where users benefit from having the documentation link when violations occur. Changes: - verify-enterprise-contract: Added flag to validate image command - verify-conforma-konflux-ta: Added flag to validate image command - verify-conforma-konflux-vsa-ta: Added flag to both validate vsa and validate image commands This ensures CI/production users see the policy documentation link while demos remain clean (flag defaults to false). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d16e3a0 commit de1b1a4

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ spec:
390390
--timeout=0
391391
--strict=false
392392
--show-successes=true
393+
--show-policy-docs-link=true
393394
--effective-time="${EFFECTIVE_TIME}"
394395
--extra-rule-data="${EXTRA_RULE_DATA}"
395396
--retry-max-wait="${RETRY_MAX_WAIT}"

tasks/verify-conforma-konflux-vsa-ta/0.1/verify-conforma-konflux-vsa-ta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ spec:
280280
- "--workers"
281281
- "$(params.WORKERS)"
282282
- "--strict=false"
283+
- "--show-policy-docs-link=true"
283284
- "--fallback-public-key"
284285
- "$(params.PUBLIC_KEY)"
285286
- "--output"
@@ -336,6 +337,7 @@ spec:
336337
- "--timeout=100h"
337338
- "--strict=false"
338339
- "--show-successes"
340+
- "--show-policy-docs-link=true"
339341
- "--effective-time=$(params.EFFECTIVE_TIME)"
340342
- "--extra-rule-data=pipeline_intention=release"
341343
- "--extra-rule-data=$(params.EXTRA_RULE_DATA)"

tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ spec:
335335
--timeout=0
336336
--strict=false
337337
--show-successes=true
338+
--show-policy-docs-link=true
338339
--effective-time="${EFFECTIVE_TIME}"
339340
--extra-rule-data="${EXTRA_RULE_DATA}"
340341
--retry-max-wait="${RETRY_MAX_WAIT}"

0 commit comments

Comments
 (0)