From e0584f344d319bdd33d9b0159b05bf3ca7255fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Fri, 7 Jun 2019 18:16:10 +0200 Subject: [PATCH] doc: fix patch command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command had the namespace twice, remove the typo and used a working command. Signed-off-by: Sébastien Han --- Documentation/ceph-teardown.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ceph-teardown.md b/Documentation/ceph-teardown.md index 3bb77f6b8..1738c500c 100644 --- a/Documentation/ceph-teardown.md +++ b/Documentation/ceph-teardown.md @@ -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.