Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IngwiePhoenix opened this issue May 9, 2024 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@IngwiePhoenix
Copy link

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.

@IngwiePhoenix IngwiePhoenix added the kind/feature Categorizes issue or PR as related to a new feature. label May 9, 2024
@piyush-garg
Copy link
Contributor

@IngwiePhoenix Thanks for creating the issue. Have you tried https://github.com/tektoncd/operator, it provides the one click install UX

@IngwiePhoenix
Copy link
Author

IngwiePhoenix commented May 16, 2024

That's pretty neat, hadn't seen that before. This would make a neat "helm chart lite", which just installs the operator and takes the installation type as a value. Basic, but gets the job done.

That said, why is there no official Helm chart to install the CRDs and friends? I haven't looked into OpenShift yet, since all I have is k3s...

EDIT: Damn, sometimes im blind... xD
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants