tektoncd / tektoncd/cli

Use the tkn CLI to install Tekton CRDs into cluster (QuickStart helper)

Open
#2,317 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature
Dominant language
Go
Stars
461
Forks
277
Avg merge
16h 48m
Merged PRs (30d)
95

Description

Feature request

I would like to request the CLI being able to install the Tekton CRDs required to make the CI/CD system work. There is no Helm chart, and the documentation lists a myriad of kubectl apply -f http... commands that are harder to track. Instead, it'd be awesome to simply use the tkn CLI for that.

Use case

When getting started and wanting to dive right in, having a "Install tkn, run tkn install and try these pipelines" as a Getting Started quickstart.

It may also allow the user to specify the version of the various CRDs to be installed, which could be tracked as part of GitOps.

UI Example
tkn install # Install latest
tkn install v1.2.3 # Install a specific version
tkn apply # Take a file, or read a file from the current working directory 
          # with a base config of what should or should not be installed.
tkn crds # Show installed version/s if applicable
tkn uninstall # Remove CRDs

Under the hood, it may as well just run the kubectl apply -f http... commands; but it would certainly make "getting into it" easier.

Contributor guide

Open the contributing guide

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

Review the existing tkn CLI command entry points and the QuickStart documentation describing the kubectl apply commands. Define the supported install, version-selection, inspection, apply, and uninstall scope before implementation; done should be clear from the documented command behavior and CRD installation flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.