github tektoncd/triggers v0.14.0
Tekton Triggers v0.14.0

latest releases: v0.30.0, v0.29.1, v0.29.0...
3 years ago

-Docs @ v0.14.0
-Examples @ v0.14.0

Installation

kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.14.0/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.14.0/interceptors.yaml

Upgrade Notices

  1. As of this release, the Triggers release will contain two YAML files. release.yaml contains the core release artifacts while interceptors.yaml contain the 4 core interceptors (GitHub, GitLab, BitBucket, and CEL).

How to upgrade from v0.13.0 :up_arrow:

kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.14.0/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.14.0/interceptors.yaml

Changes

Features

  • ✨ Provide error for invalid bindings (#1049)

TriggerBinding produces error on providing invalid Tekton template values.

  • ✨ Adding opencensus metrics (#1061)

Added Eventlistener OpenCensus metrics which captures metrics at process level.

  • ✨ Add validation check for triggers (#1072)

User cannot specify both TriggerRef and (TriggerTemplate, TriggerBindings, Interceptors) as part of eventlistener spec.

  • ✨ Add a Ready StatusCondition for EventListener (#1082)

The EventListener Status now has a new Condition called Ready. Ready is set to True when the other status conditions are also true (i.e. the EventListener is ready to serve traffic). It is false if any of the other statuses are false.

Deprecation Notices

  • 🚨 Add a Ready StatusCondition for EventListener (#1082)

The EventListener Status now has a new Condition called Ready. Ready is set to True when the other status conditions are also true (i.e. the EventListener is ready to serve traffic). It is false if any of the other statuses are false.

DEPRECATION NOTICE: In the future, we plan to deprecate the other status conditions in favor of the Ready status condition.

  • 🚨 Add EventListener UID to sink response, mark name/namespace as deprecated (#1087)

eventListener and namespace fields in EventListener response are now deprecated. Use eventListenerUID instead.

Backwards incompatible changes

  • 🚨 Removed deprecated fields (#1040)

As part of this release we have removed deprecated fields ServiceType and PodTemplate from the EventListener Spec.

Fixes

  • 🐛 Skip heavy validation on deletion 🙃 (#1085)

Skip heavy validation on deletion in the webhook.

  • 🐛 Fix metrics port expose issue for triggers eventlistener (#1086)

Triggers exposes metrics on 9000 port.

  • 🐛 Add EventListener UID to sink response, mark name/namespace as deprecated (#1087)

eventListener and namespace fields in EventListener response are now deprecated. Use eventListenerUID instead.

Misc

  • 🔨 Update roadmap for 2021 (#1053)
  • 🔨 Add links to versioned docs for v0.13.0 (#1058)
  • 🔨 Updating to latest version of plumbing (#1064)
  • 🔨 refactor: move list of allowed ResourceTemplate types to its own package (#1068)
  • 🔨 Resolving build test issues in PRs (#1078)
  • 🔨 Migrate from test builders to structs (#1080)
  • 🔨 Bump CEL version to latest version. (#1088)

The CEL interceptor is updated to the latest version of CEL, this brings in the CEL base64 decoding functions.
These are documented here https://github.com/google/cel-go/tree/master/ext#base64decode
Note: the CEL base64 decoding function decodes to a CEL byte array, which is not a string, it uses the b'hello' syntax to represent a string of bytes "hello".
The triggers decodeb64 CEL function is now deprecated in favour of the upstream encoders package, you can replace body.value.decodeb64 with string(base64.decode(body.value))

  • 🔨 Bump pipeline to 0.24.1 and knative pkg to 0.22 (#1091)

Docs

  • 📖 Add the new Interceptors Page (#1035)
  • 📖 Rewrite the ClusterInterceptors page for clarity and flow (#1048)
  • 📖 Capitalization consistency for resourcetemplates (#1050)
  • 📖 Update README.md and Release Cheat Sheet (#1051)
  • 📖 Update install documentation (#1054)
  • 📖 Rewrite the EventListeners Page (#1060)
  • 📖 Delete obsolete page exposing-eventlisteners.md (#1066)
  • 📖 Update link to interceptors doc (#1073)
  • 📖 Add link between cluster interceptor docs and interceptor docs (#1074)

Thanks

Thanks to these contributors who contributed to v0.14.0!

Extra shout-out for awesome release notes:

Don't miss a new triggers release

NewReleases is sending notifications on new releases.