Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added command for deleting on-premdb
  • Loading branch information
ting-lan-wang authored Jun 28, 2022
1 parent be3e3d4 commit b9c6544
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,16 @@ YAML file templates are available under [`/config/samples`](./config/samples/).
To delete all the CRD instances deployed to cluster by the operator, run the following commands, where <namespace> is the namespace of the cluster object:

```sh
kubectl delete oraclerestdataservices.database.oracle.com --all -n <namespace>
kubectl delete oraclerestdataservice.database.oracle.com --all -n <namespace>
kubectl delete singleinstancedatabase.database.oracle.com --all -n <namespace>
kubectl delete shardingdatabase.database.oracle.com --all -n <namespace>
kubectl delete dbcssystem.database.oracle.com --all -n <namespace>
kubectl delete autonomousdatabase.database.oracle.com --all -n <namespace>
kubectl delete autonomousdatabasebackup.database.oracle.com --all -n <namespace>
kubectl delete autonomousdatabaserestore.database.oracle.com --all -n <namespace>
kubectl delete autonomouscontainerdatabase.database.oracle.com --all -n <namespace>
kubectl delete dbcssystem.database.oracle.com --all -n <namespace>
kubectl delete cdb.database.oracle.com --all -n <namespace>
kubectl delete pdb.database.oracle.com --all -n <namespace>
```

After all CRD instances are deleted, it is safe to remove the CRDs, APISerivces and operator deployment.
Expand Down

0 comments on commit b9c6544

Please sign in to comment.