-
Notifications
You must be signed in to change notification settings - Fork 426
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
TriggerTemplateRun !? #200
Comments
Ah interesting idea! So you'd like a way to trigger the creation of the resources in the I think this is an interesting idea and I like the idea of making The plumbing repo is handling this problem (b/c they want to have crons that invoke So one question for your use case @skaegi : the event listener is currently the only way to do validation of requests; do you want your (Nitpick: I'm not sure if |
No, I'm not looking for the interceptor to be involved at all. I'm just looking for a way to give a template some params and then make it so. (re Nitpick: I just was picking on the word |
For my own clarification - Is the primary reason to support these is to bundle params for multiple Resources specified in a template, instead of specifying each as a Pipeline/TaskRun? Are there any other advantages you see in specifying this as its own resource? You may be interested in https://github.com/tektoncd/triggers/pull/226/files#diff-d5a0150984469b75717587a4812ee75aR187-R195 which separates out the behavior you're looking for into a library call rather than a resource. Separately, this may have some impact/overlap on #189, which I'll try to capture in my proposal. Stay tuned! |
We could potentially add a body field (with the above params) to |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is in the project roadmap https://github.com/tektoncd/triggers/blob/master/roadmap.md /lifecycle frozen |
TriggerTemplates are really important to us as we use them to lay down non Tekton resources like ConfigMaps and Secrets however we have been forced to write our own implementation because our eventing is totally different. In addition to event based triggering we support API based triggering and what I observed is that the payload looks remarkably like what I imagine a TriggerTemplateRun object would be if it existed. Maybe something like...
What I'm wondering is if Triggers could directly expose the TriggerTemplateRun instead of hiding it inside. This would let us adopt the Triggers controller at least for the Templating piece.
The text was updated successfully, but these errors were encountered: