-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Tried installing cockroachdb operator using the commands as given in demo.sh with the binary built from master.
Steps followed:
-
Install operator -
kubectl-operator install cockroachdb --create-operator-group -v 2.1.1
Output - Operator is installed successfully. -
Uninstall operator -
kubectl-operator uninstall cockroachdb --delete-crds --delete-operator-groups
Output:
subscription "cockroachdb" deleted
uninstall operator: delete clusterserviceversion "": resource name may not be empty
When I check for the csv available in cluster after running the uninstall command, I get this:
➜ kubectl-operator git:(main) k get csv --all-namespaces | grep -i cockroachdb
default cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
kube-node-lease cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
kube-public cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
kube-system cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
olm cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
operators cockroachdb.v2.1.1 CockroachDB 2.1.1 cockroachdb.v2.0.9 Succeeded
The crds are not deleted either:
➜ kubectl-operator git:(main) k get crds --all-namespaces | grep -i cockroachdb
cockroachdbs.charts.helm.k8s.io 2020-11-03T03:01:41Z
Expected output: The operator is uninstalled successfully and all the resources are deleted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels