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

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

-Docs @ v0.11.0
-Examples @ v0.11.0

Changes

Features ✨

  • Migrate GitLab, BitBucket, GitHub interceptors to new interface (#832)

  • Implement marshalJSON CEL function (#842)
    New CEL function marshalJSON that can encode a JSON object or array to a string.

  • Add a server for serving core interceptors (#858)

    Add a HTTP handler for serving core interceptors and this packages all 4 core interceptors into a single HTTP server.
    Each interceptor is available at a different path e.g. /cel for CEL etc.

  • Add SecurityContext to reconciled Deployment (#862)

    Add a security context on event listener deployments to prevent issues with restrictive default PSPs.

  • Add flag to disable security context on EL Deployment (#865)

    Add a flag to disable SecurityContext on the reconciled eventlistener Deployment

  • Change InterceptorRequest.Body to string (#877)

    InterceptorRequest.Body is now of type string. No immediate action is required but once #271 is fully implemented, interceptor authors will have to parse the Body separately as a JSON object.

  • Move core interceptors to their own server (#878)

Deprecation Notices 🚨

  • Deprecate PodTemplate and ServiceType in favour of Resource (#897)

    Deprecate PodTemplate and ServiceType in favour of Resource.

Backwards incompatible changes 🚨

  • Remove the template.Name field (#898)
    Action required: The Template.Name field has been removed from the Trigger Spec. Please use Template.Ref instead.
  • Remove deprecated spec style embedded bindings (#900)
    BREAKING CHANGE:
    The Spec field has been removed from the TriggerSpecBinding.

Fixes 🐛

  • Fix example SA permissions (#848)

    The example service account has been updated to include access to clustertriggerbindings.

  • refactor: Do not use %w unless in fmt.Errorf (#855)

  • Merge extensions into body for webhook interceptors (#859)

    Extensions added by a CEL Interceptor will be passed on to webhook interceptors by merging the extension fields into the event body under a extensions field. See docs/eventlisteners.md for more details.

  • Bind admin role so that SA can use PSP (#863)

  • Update tekton eventlistener portname owing to istio naming conventions (#880)

    Event listener port should be called http-listener instead of listener.

  • Update TLS example (#885)

  • Use system.DefaultNamespace for interceptor urls (#891)

  • Add core interceptors image to created images (#895)

Misc 🔨

  • Use a test helper for rawExtension objects in tests (#843)

  • Remove deprecated fields podTemplate and serviceType (#852)

  • Use own Status type for InterceptorResponse (#854)

  • Update CRD to apiextensions.k8s.io/v1 (#872)

  • Add @savitaashture as an OWNER 🎉 (#873)

  • Refactor flags to improve unit tests (#876)

    Pass a config struct to the reconciler instead of using flags directly.

  • Fix behaviour which allows EL ports to be configured (#881)

  • Refactor sink test (#882)

  • Update service account name for TLS example (#884)

  • Add https-listener service port name (#887)

  • Improve the TriggerTemplate message (#899)

    Improve the error message when parsing the results of rendering a TriggerTemplate.

  • Bump knative to release-0.20 and pipeline to v0.20.0 (#903)

This bumps the minimum supported version of kubernetes to 0.17

Docs 📖

  • Add links to versioned docs for v0.10.1 (#851)

  • Remove mention of dep in dev docs (#866)

  • Add docs for installing nightly release (#874)

  • Fixed link in EventListener secure connection docs (#905)

    Link fixed in the docs for the EventListener example with secure connection.

  • Add links to versioned docs for v0.10.2 (#907)

How to upgrade from v0.10.2 :up_arrow:

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

Note: Tekton Triggers v0.11.0 requires Kubernetes 1.17+ to run.

Thanks

Thanks to these contributors who contributed to v0.11.0!

Extra shout-out for awesome release notes:

Don't miss a new triggers release

NewReleases is sending notifications on new releases.