-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: References and Specifications #5138
Comments
@tektoncd/core-maintainers please take a look |
My biggest concern with this is that I definitely lean more towards having distinct |
💯 It's an implementation detail but I prefer avoiding
I like using
isn't And, for the spec, we are again going back to
instead, its cleaner to be more descriptive. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
/lifecycle frozen |
comment for tracking 👀 |
Tekton Pipelines has the following fields:
TaskRef
- references toTasks
andCustom Tasks
TaskSpec
- embedded specifications ofTasks
andCustomTasks
PipelineRef
- references toPipelines
PipelineSpec
- embedded specifications ofPipelines
We have discussed replacing them with
ref
andspec
, especially when we discussed supportingPipelines
inPipelines
. We descoped this work from the TEPs where it came up, so opening this issue to track this discussion and gather more feedback.Below is the most promising API for using
ref
andspec
- thanks to @afrittoli!This example below demonstrates the API change to
Pipelines
, but the same can be applied to other types.Notes
apiVersion
such that it matches the top level value - this wayapiVersion
is required forCustom Tasks
onlyChildReferences
already takes this shape - where it lists the references withapiVersion
andkind
- so this change will align the specifications with the status/kind feature
/area api
The text was updated successfully, but these errors were encountered: