redhat-developer / redhat-developer/web-terminal-operator

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

Open
#151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
42
Forks
24
Avg merge
3d 21h
Merged PRs (30d)
1

Description

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:

  • AWS (ROSA)
  • Azure
  • GCP
  • other (please specify)

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating where the Web Terminal environment provides the tkn 0.28 binary and compare it with the current 0.31 version mentioned in the issue. Done means a properly formed tkn pipeline start command executes successfully without the API-version error.

Written by the indexing model from the issue text.

Assessment

Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.