appsody / tekton-example

Example implementation of a tekton pipeline that deploys an Appsody project. This repo will be archived soon.
Apache License 2.0
11 stars 20 forks source link

failed to apply pipeline run #23

Closed qibobo closed 5 years ago

qibobo commented 5 years ago

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"
kylegc commented 5 years ago

@chilanti any thoughts on this?

chilanti commented 5 years ago

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

neeraj-laad commented 5 years ago

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

qibobo commented 5 years ago

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

qibobo commented 5 years ago

@chilanti I delete the 2 lines in https://github.com/appsody/tekton-example/blob/895d98ee022d8218775c4c81cceb9411f167e3c0/appsody-pipeline-run.yaml#L10 then it works. So the yaml file should be updated?

chilanti commented 5 years ago

@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.