danielhelfand / tekton-install

CLI for Installing Tekton components on a Kubernetes cluster
Apache License 2.0
1 stars 0 forks source link

Uninstall Command #1

Closed danielhelfand closed 4 years ago

danielhelfand commented 4 years ago

The command UX would be as follows:

# Uninstall multiple components 
tekton-install uninstall dashboard triggers

# Uninstall pipeline (NOTE: This uninstalls all other install components)
tekton-install uninstall pipeline

# Uninstall all components would have the same behavior as pipeline, which would remove everything
tekton-install uninstall all

The user should not need to specify what version to uninstall of any component. One approach could be to use tkn to get the component versions installed and use that with kubectl delete -f.

If pipeline or all is passed as an argument, simply uninstalling pipelines should remove other components. Other arguments can be ignored in this case.

danielhelfand commented 4 years ago

Closed by #4