Open
Description
Cloned this and tried the first step....dies with errors:
root@controller:~/Tekton/tekton-tutorial# tkn task start build
? Value for param `contextDir` of type `string`? (Default is `.`) .
? Value for param `destinationImage` of type `string`? (Default is `$(outputs.resources.builtImage.url)`) $(outputs.resources.builtImage.url)
? Value for param `dockerFile` of type `string`? (Default is `Dockerfile`) Dockerfile
? Value for param `tlsVerify` of type `string`? (Default is `false`) false
Error: the API version in the data (tekton.dev/v1beta1) does not match the expected API version (tekton.dev/v1)
So....dolefully change the 'v1beta1' to 'v1', and still dies:
root@controller:~/Tekton/tekton-tutorial# nano tekton/2.tasks/build-task.yaml
root@controller:~/Tekton/tekton-tutorial# kc apply -f tekton/2.tasks/build-task.yaml
Error from server (BadRequest): error when creating "tekton/2.tasks/build-task.yaml": admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "resources"
Can't even get it to apply the change :(
Running latest Tekton:
root@controller:~/Tekton/tekton-tutorial# tkn version
Client version: 0.27.0
Pipeline version: v0.43.1
Triggers version: v0.22.0
Dashboard version: v0.31.0
Metadata
Metadata
Assignees
Labels
No labels