Skip to content

Commit eb91225

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 2997b87 commit eb91225

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
@@ -344,6 +344,7 @@ spec:
344344
--timeout=0
345345
--strict=false
346346
--show-successes=true
347+
--show-policy-docs-link=true
347348
--effective-time="${EFFECTIVE_TIME}"
348349
--extra-rule-data="${EXTRA_RULE_DATA}"
349350
--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
@@ -289,6 +289,7 @@ spec:
289289
--timeout=0
290290
--strict=false
291291
--show-successes=true
292+
--show-policy-docs-link=true
292293
--effective-time="${EFFECTIVE_TIME}"
293294
--extra-rule-data="${EXTRA_RULE_DATA}"
294295
--retry-max-wait="${RETRY_MAX_WAIT}"

0 commit comments

Comments
 (0)