Merge pull request #10836 from rook/mergify/bp/release-1.10/pr-10806

docs: change [null] to [] (backport #10806)
This commit is contained in:
Satoru Takeuchi authored and GitHub committed 2022-08-31 18:33:56 +09:00
commit bd3bb52df9
1 file changed
+3 -3
@@ -164,7 +164,7 @@ If for some reason the operator is not able to remove the finalizer (i.e., the o
```console
for CRD in $(kubectl get crd -n rook-ceph | awk '/ceph.rook.io/ {print $1}'); do
kubectl get -n rook-ceph "$CRD" -o name | \
xargs -I {} kubectl patch -n rook-ceph {} --type merge -p '{"metadata":{"finalizers": [null]}}'
xargs -I {} kubectl patch -n rook-ceph {} --type merge -p '{"metadata":{"finalizers": []}}'
done
```
@@ -196,6 +196,6 @@ The operator is responsible for removing the finalizers when a CephCluster is de
If for some reason the operator is not able to remove the finalizers (i.e., the operator is not running anymore), you can remove the finalizers manually with the following commands:
```console
kubectl -n rook-ceph patch configmap rook-ceph-mon-endpoints --type merge -p '{"metadata":{"finalizers": [null]}}'
kubectl -n rook-ceph patch secrets rook-ceph-mon --type merge -p '{"metadata":{"finalizers": [null]}}'
kubectl -n rook-ceph patch configmap rook-ceph-mon-endpoints --type merge -p '{"metadata":{"finalizers": []}}'
kubectl -n rook-ceph patch secrets rook-ceph-mon --type merge -p '{"metadata":{"finalizers": []}}'
```