-
Notifications
You must be signed in to change notification settings - Fork 413
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
TriggerTemplate unable to use JSON array as parameter #1562
Comments
I tried to parse JSON payload as string, and then use jq in the task to read json payload, I was not successful. Did anyone successfully achieved this? |
Something similar ask here #893 |
Its not supported today |
hey @arjunsbabu43 Tekton pipelines does support object parameters as a beta feature but we have yet to build support for that in Triggers. |
+1 for this feature |
This is much more than a good feature to add... at this point the triggers project is not compatible with the pipelines project at a fundamental level. |
@khrm @savitaashture let's consider this for the next milestone? |
Thank you, @dibyom. Do you have any information on the anticipated release date for Triggers v0.25? |
A workaround for this is using CEL interceptor.
|
Thanks @khrm will have a try and will let you know the results |
I will add the workaround to the docs in this release. |
@khrm will create a PR with workaround in the doc for now as we are moving this issue to next milestone |
Hi,
I am trying to trigger the creation of VMs using a tekton pipeline. The idea is that there is an eventlistener which receives a HTTP POST request with the data required for the provisioning.
This is an example of the JSON payload that I need to pass to the pipelinerun:
I am unable to achieve to read an object parameter using TriggerTemplate
My tekton triggers look like this:
My tekton pipeline:
When spawning pipeline I see following error:
Is this supported in tekton?
Thanks,
The text was updated successfully, but these errors were encountered: