🎉 Use managedBy
to delegate pipelineRun
and taskRun
lifecycle control 🎉
-Docs @ v1.5.0
-Examples @ v1.5.0
Installation one-liner
kubectl apply -f https://infra.tekton.dev/tekton-releases/pipeline/previous/v1.5.0/release.yaml
Attestation
The Rekor UUID for this release is 108e9186e8c5677a657cc892687dc9dbf41be24c29f51d2f5fc1092446b0739ec5280bb6b0bc1b82
Obtain the attestation:
REKOR_UUID=108e9186e8c5677a657cc892687dc9dbf41be24c29f51d2f5fc1092446b0739ec5280bb6b0bc1b82
rekor-cli get --uuid $REKOR_UUID --format json | jq -r .Attestation | jq .
Verify that all container images in the attestation are in the release file:
RELEASE_FILE=https://infra.tekton.dev/tekton-releases/pipeline/previous/v1.5.0/release.yaml
REKOR_UUID=108e9186e8c5677a657cc892687dc9dbf41be24c29f51d2f5fc1092446b0739ec5280bb6b0bc1b82
# Obtains the list of images with sha from the attestation
REKOR_ATTESTATION_IMAGES=$(rekor-cli get --uuid "$REKOR_UUID" --format json | jq -r .Attestation | jq -r '.subject[]|.name + ":v1.5.0@sha256:" + .digest.sha256')
# Download the release file
curl "$RELEASE_FILE" > release.yaml
# For each image in the attestation, match it to the release file
for image in $REKOR_ATTESTATION_IMAGES; do
printf $image; grep -q $image release.yaml && echo " ===> ok" || echo " ===> no match";
done
Changes
Features
- ✨ Add Support for managedBy field in TaskRun and PipelineRun (#8965)
Added a "managedBy" field to delegate responsibility of controlling the lifecycle of PipelineRuns/TaskRuns.
The semantics of the field:
Whenever the value is set, and it does not point to the built-in controller, then we skip the reconciliation.
- The field is immutable
- The field is not defaulted
Fixes
Misc
- 🔨 GHA label checker (#9050)
- 🔨 build(deps): bump github/codeql-action from 3.29.10 to 3.30.1 (#9030)
- 🔨 Set the user-agent in the release name tool (#9016)
- 🔨 add khrm to reviewers in OWNERS_ALIASES (#9026)
Docs
Thanks
Thanks to these contributors who contributed to v1.5.0!
- ❤️ @afrittoli
- ❤️ @dependabot[bot]
- ❤️ @khrm
- ❤️ @pritidesai
- ❤️ @waveywaves
Extra shout-out for awesome release notes:
- 😍 @khrm