Adding an uninstall command to uninstall Tekton components available on a Kubernetes cluster. The command uses kubectl to figure out what versions of Tekton components are installed and passes the version to a kubectl delete -f command to remove installed components.
Future considerations:
A prompt message to confirm with users if they want to uninstall components before proceeding
A --force flag to override the confirmation prompt
Adding an uninstall command to uninstall Tekton components available on a Kubernetes cluster. The command uses
kubectl
to figure out what versions of Tekton components are installed and passes the version to akubectl delete -f
command to remove installed components.Future considerations:
--force
flag to override the confirmation prompt