appsody / tekton-example

Example implementation of a tekton pipeline that deploys an Appsody project. This repo will be archived soon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failed to apply pipeline run

qibobo opened this issue · comments

I follow the guide but in the last step it failed to create a pipeline run:

kubectl apply -f appsody-pipeline-run.yaml
Error from server (InternalError): error when creating "appsody-pipeline-run.yaml": Internal error occurred: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "trigger"

@chilanti any thoughts on this?

@qibobo - what version of Knative/Istio are you working with? This sounds like a version mismatch issue.

@qibobo Please, can you provide the information requested above?

@chilanti
both istio and knative are v0.4.0 introduced by https://knative.dev/v0.4-docs/install/knative-with-iks/

@chilanti
I delete the 2 lines in


then it works.
So the yaml file should be updated?

@qibobo - It looks like something changed between tekton 0.5.x and 0.7.0... I'll do some additional investigation and possibly update the yaml.