redhat-developer / web-terminal-operator

OpenShift Console Web Terminal
MIT License
41 stars 15 forks source link

Outdated Tekton binary (tkn) makes it impossible to successfully launch a pipeline from the Web Console #151

Open samson7point1 opened 1 year ago

samson7point1 commented 1 year ago

Describe the bug

The version of "tkn" provided (0.28) is old and susceptible to this bug: https://github.com/tektoncd/cli/issues/1837

Expected Behavior

A "tkn pipeline start..." command executes successfully.

Current Behavior

All "tkn pipeline start..." commands result in the error: "Error: the API version in the data (tekton.dev/v1beta1) does not match the expected API version (tekton.dev/v1)"

This appears to happen irrespective of whether the manifests contain the 'v1beta1' API version.

Steps to Reproduce

  1. Attempt to run a properly formed and tested "tkn pipeline start" command
  2. Observe that it results in an error

Environment

Cloud:

OpenShift Version: 4.12.36

Additional Info I was able to work around this problem by copying the current version of tkn to the Web Terminal environment and executing it directly. The same command performs perfectly using the current version (0.31) of the binary.