Skip to content

[cherry-pick: release-v0.80.x] fix(chains): allow slsa/v2alpha4 attestation format in validation - #4260

Merged
tekton-robot merged 2 commits into
release-v0.80.xfrom
cherry-pick-4251-to-release-v0.80.x
Oct 14, 2026
Merged

tekton-robot merged 2 commits into
release-v0.80.xfrom
cherry-pick-4251-to-release-v0.80.x

Conversation

@tekton-robot

Copy link
Copy Markdown
Contributor

This is a cherry-pick of #4251


Changes

Allow slsa/v2alpha4 in TektonChain webhook validation for
artifacts.taskrun.format and artifacts.pipelinerun.format.

Chains already supports this format (StepAction type-hints /
isBuildArtifact), but the operator rejected it, forcing consumers
such as Konflux to fall back to slsa/v2alpha3
(see redhat-appstudio/infra-deployments#10570).

Submitter Checklist

Release Notes

Allow configuring Tekton Chains artifacts.*.format as slsa/v2alpha4

Chains already supports slsa/v2alpha4 for TaskRun and PipelineRun
attestations, but the TektonChain webhook rejected it. Add the format
to the allowlist so operators can configure it without falling back to
v2alpha3.

Signed-off-by: Jawed khelil <jkhelil@redhat.com>
Iterate allowedArtifactsTaskRunFormat and allowedArtifactsPipelineRunFormat
so the tests stay in sync with the webhook allowlists.

Signed-off-by: Jawed khelil <jkhelil@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 13, 2026
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 13, 2026

@infernus01 infernus01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2026
@pratap0007

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@tekton-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pratap0007

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2026
@tekton-robot
tekton-robot merged commit d4c9044 into release-v0.80.x Oct 14, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants