Closed SaschaSchwarze0 closed 1 year ago
We might need to watch for both objects in the controller, also make sure the golang "vendoring" is reflecting what we need.
We might need to watch for both objects in the controller, also make sure the golang "vendoring" is reflecting what we need.
+1 I think the CustomRun does not exist in Tekton v0.38 yet = we need a bump of the Tekton version. And if we do that as usual, then we would do that in the Build repo and then pick up that change in Triggers.
We support so far Tekton's alpha Run. In the meantime, Tekton also has a beta version called CustomRun. A feature flag on Tekton controls which of the two CRDs are used by Tekton. Since v0.44.0, the beta CustomRun is default. Reference: https://github.com/tektoncd/pipeline/blob/v0.44.0/config/config-feature-flags.yaml#L96
We should provide conditional support based on the availability of the custom resource definition.