When deleting all components from a Kubernetes cluster, if some components are not installed, the following error is displayed:
# Nothing installed
tekton-install uninstall all
Error from server (NotFound): namespaces "tekton-pipelines" not found
# Some components installed
tekton-install uninstall all
Error from server (NotFound): deployments.apps "tekton-triggers-controller" not found
Component dashboard has been uninstalled successfully
Component pipeline has been uninstalled successfully
This error comes from the getComponentVersion func. It occurs while checking for the version of a component that is not installed.
The error will not stop the uninstall process, but it is confusing and should be cleaned up to be something like the following:
When deleting all components from a Kubernetes cluster, if some components are not installed, the following error is displayed:
This error comes from the
getComponentVersion
func. It occurs while checking for the version of a component that is not installed.The error will not stop the uninstall process, but it is confusing and should be cleaned up to be something like the following: