Following the examples and documentation, was not able to create a PipelineRun if pipelinerun.spec.trigger.type is not specified.
Error from server (InternalError): error when creating "pipelinerun.yaml": Internal error occurred: admission webhook "webhook.tekton.dev" denied the request: mutation failed: invalid value: : pipelinerun.spec.trigger.type
PipelineRun withoutspec:
trigger:
type: manual
Using lastest release.
@jotacamou
Please check the age of pods in name space: tekton-pipelines, they just removed trigger several days ago.
Use the master cannot reproduce this issue.
Confirmed. Not an issue on master branch however present on v0.3.1. Please close, thank you!
Glad you got it working! Thanks for opening the issue @jotacamou :D
This error still exists with the tutorial doc as I get this error when I deploy the pipelineRun
kubectl apply -f pipelineRun.yml -n tutorial
Error from server (InternalError): error when creating "pipelineRun.yml": Internal error occurred: admission webhook "webhook.tekton.dev" denied the request: mutation failed: invalid value: : pipelinerun.spec.trigger.type
@cmoulliard which version of tekton pipeline did you deploy ?
Getting the same error with the latest tekton release v0.3.1
If this change is only in master, how can I install tekton from a master branch ?
I am using the installation instruction from the doc :
kubectl apply --filename https://storage.googleapis.com/tekton-releases/latest/release.yaml
Error when running pipeline (without triggers):
Error from server (InternalError): error when creating "pipelinerun.yaml": Internal error occurred: admission webhook "webhook.tekton.dev" denied the request: mutation failed: invalid value: : pipelinerun.spec.trigger.type
@sarnaudova
Please take a look this: https://github.com/tektoncd/pipeline/blob/master/DEVELOPMENT.md
Use ko to apply the master to the cluster.
We should have a 0.4 release coming out this week @sarnaudova ! Sorry for the difficulty :(
Most helpful comment
@jotacamou
Please check the age of pods in name space:
tekton-pipelines, they just removedtriggerseveral days ago.Use the
mastercannot reproduce this issue.