kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.17k stars 103 forks source link

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

Open yogeek opened 3 years ago

yogeek commented 3 years ago

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: