kudobuilder/kudo

Error in doc : uninstall kudo command needs '--upgrade' option

yogeek opened this issue · 0 comments

What happened:

The documentation says that uinstalling kudo is possible with the following command :

kubectl kudo init --dry-run --output yaml | kubectl delete -f -

But it actually results in this error :

Errors                                                                                               
CRD operators.kudo.dev is already installed. Did you mean to use --upgrade?                          
KUDO manager kudo-system/kudo-controller-manager seems to be installed. Did you mean to use --upgrade
Error: failed to verify installation requirements

The following command is ok :

kubectl kudo init --dry-run --output yaml --upgrade | kubectl delete -f -

Environment:

  • Kubernetes version (use kubectl version):
Client Version: v1.19.10
Server Version: v1.21.2+k3s1
  • Kudo version (use kubectl kudo version):
KUDO Version: version.Info{GitVersion:"0.19.0", GitCommit:"4173395f", BuildDate:"2021-04-27T15:30:48Z", GoVersion:"go1.16.3", Compiler:"gc", Platform:"linux/amd64", KubernetesClientVersion:"v0.19.2"}