doc: fix patch command

The command had the namespace twice, remove the typo and used a working
command.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2019-06-07 18:16:10 +02:00
1 parent cea5fd8676
commit e0584f344d
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ The operator is responsible for removing the finalizer after the mounts have bee
If for some reason the operator is not able to remove the finalizer (ie. the operator is not running anymore), you can delete the finalizer manually with the following command:
```
kubectl -n rook-ceph patch cephclusters.ceph.rook.io rook-ceph -p '{"metadata":{"finalizers": []}}' --type=merge
kubectl -n rook-ceph patch crd cephclusters.ceph.rook.io --type merge -p '{"metadata":{"finalizers": [null]}}'
```
Within a few seconds you should see that the cluster CRD has been deleted and will no longer block other cleanup such as deleting the `rook-ceph` namespace.