tektoncd / dashboard

A dashboard for Tekton!
Apache License 2.0
863 stars 258 forks source link

Add support for updated resourceTemplates field in future Triggers release #3310

Closed AlanGreene closed 5 months ago

AlanGreene commented 5 months ago

Changes

Triggers v0.26.0 attempted to rename resourcetemplates to resourceTemplates but it was done in a backwards incompatible way and reverted in v0.26.1.

This change will be reintroduced in a backwards compatible way in a future release.

Update the Dashboard code to handle both variants, including ensuring we have test coverage for both.

/kind misc

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

Release Notes

NONE
tekton-robot commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: briangleeson

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tektoncd/dashboard/blob/main/OWNERS)~~ [briangleeson] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment