github tektoncd/triggers v0.37.1
Tekton Triggers release v0.37.1 "Tekton Triggers"

3 hours ago

Installation one-liner

kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.1/release.yaml
kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.1/interceptors.yaml

Attestation

The Rekor UUID for this release is 108e9186e8c5677ad028f84990e7f434fcb63d84486bf5505a4c7376a9efedfb1ba298536d13a88c

Obtain the attestation:

REKOR_UUID=108e9186e8c5677ad028f84990e7f434fcb63d84486bf5505a4c7376a9efedfb1ba298536d13a88c
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/triggers/previous/v0.37.1/release.yaml
INTERCEPTORS_FILE=https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.1/interceptors.yaml
REKOR_UUID=108e9186e8c5677ad028f84990e7f434fcb63d84486bf5505a4c7376a9efedfb1ba298536d13a88c

# 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 + ":v0.37.1@sha256:" + .digest.sha256')

# Download the release file
curl -L "$RELEASE_FILE" > release.yaml
curl "$INTERCEPTORS_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

Fixes

  • 🐛 Cherry pick harden gh interceptors v0.37 (#2125)
  • Enforce that the Github Interceptor must be used in conjunction with secretRef, to ensure all Github payloads are verifiably signed
    Action Required: Users using the Github Interceptor must ensure the interceptor uses a secretRef, as described in the documentation

  • Add a configmap-driven allowlist for allowed hosts by the Github Interceptors. A new feature flag interceptors.github.use-enterprise-host-allowlist controls whether or not the allow-list is enforced. The feature flag defaults to false for backwards compatiblity but in later releases it will default to true and eventually be removed

  • 🐛 Warn on unresolved TriggerTemplate params (#2120)

Misc

  • 🔨 bump ko image for release publishing (#2147)
  • 🔨 fix: bump Go to 1.26.6 and x/crypto to 0.55.0 (#2144)

Docs

Thanks

Thanks to these contributors who contributed to v0.37.1!

Extra shout-out for awesome release notes:

Don't miss a new triggers release

NewReleases is sending notifications on new releases.