Tekton Triggers v0.4.0
-Docs @ v0.4.0
-Examples @ v0.4.0
Changes
Features ✨
- Allow creating v1beta1 resources (#490)
Triggers can now create both v1alpha1 and v1beta1 Pipeline resources. - Implement constant-time secret comparisons in CEL. (#492)
New CEL interceptor functioncompareSecrets
for securely comparing strings to secrets in CEL expressions. - Introduce authentication/authorization at the EventListenerTrigger level (with default back to existing EventListener level) (#454)
The specification of a ServiceAccount on the EventListener Trigger is now available as an override of the ServiceAccount of the EventListener to facilitate permissions changes with respect to creating Tekton resources as the result of the sink receiving an event.
Backwards incompatible changes 🚨
In current release:
-
Switch API group for triggers to triggers.tekton.dev (#497)
All Triggers resources now use the triggers.tekton.dev API Group.
BREAKING CHANGE: Users will have to delete and recreate resources after updating the API Group. Users will also have to update their EventListener Role resource to point to the triggers.tekton.dev API Group for Triggers resources. -
Update pipeline version to 0.11-rc1 (#469)
Triggers now requires kubernetes version 1.15 or higher.
Fixes 🐛
- Support JSON double values being reencoded in the CEL interceptor (#470)
- Cleanup cluster resources when test fails (#503)
- Use static selector labels for EL svc/deployments (#513)
- Add omitempty tag to Status field (#507)
Misc 🔨
- Stop marking dynamic client as generated code (#489)
- Add 2020 roadmap 🛣️ (#498)
- [master] Fix spelling errors (#511)
- Bump pipeline version to 0.11.0 (#512)
- Fix instructions in README (#471)
- Add links to v0.3.1 in README (#464)
- Clean up sink_test.go (#413)
- Format markdown (#465)
- Update release README (#466)
- Remove unused variable (#515)
Docs 📖
- Fix inaccurate docs about TriggerTemplate (#477)
- Add additional documentation. (#475)
- Adds "commented" website front matter to docs (#500)
- Change api version (#502)
- Update docs to specify k8s version 1.15 or greater (#519)
- Fix incorrect split example (#520)
How to upgrade from v0.3.1 ⬆️
Once you have updated your cluster with the 0.4.0 release:
-
First, get all existing Trigger resources and store the yaml locally if you do not already have them locally.
-
Next, delete all of the existing Triggers resources:
kubectl delete triggertemplates --all kubectl delete triggerbindings --all kubectl delete clustertriggerbindings --all kubectl delete eventlisteners --all
-
Update the Role resource used by each EventListener's ServiceAccount to use the new APIGroups
-
Change the
apiVersion
field totriggers.tekton.dev
for each resource yaml and reapply the yaml -
Delete the old CRDs:
kubectl delete crd triggerbindings.tekton.dev kubectl delete crd clustertriggerbindings.tekton.dev kubectl delete crd triggertemplates.tekton.dev kubectl delete crd eventlisteners.tekton.dev
If you are using the Triggers Client in your go code, then update TriggersClient.TektonV1alpha1()
to TriggersClient.TriggersV1alpha1()
(here is a link to the relevant clientset code).
Thanks
Thanks to these contributors who contributed to v0.4.0!
- ❤️ @akihikokuroda
- ❤️ @bigkevmcd
- ❤️ @bobcatfish
- ❤️ @chetan-rns
- ❤️ @devholic
- ❤️ @dibyom
- ❤️ @gabemontero
- ❤️ @loafyloaf
- ❤️ @mattmoor
- ❤️ @ncskier
- ❤️ @savitaashture
- ❤️ @skaegi
Extra shout-out for awesome release notes:
- 😍 @bigkevmcd
- 😍 @dibyom
- 😍 @gabemontero