ci: fix running ceph -s in toolbox pod

we need to pass `--` when executing a command
in the container or else it will fail.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-05-17 15:59:56 +05:30 committed by mergify[bot]
parent 0cb5abc6fb
commit 4a6b08256b

View File

@ -58,4 +58,4 @@ log kubectl -n rook-ceph describe CephFilesystem
# run "ceph -s" in the toolbox # run "ceph -s" in the toolbox
log kubectl -n rook-ceph exec \ log kubectl -n rook-ceph exec \
"$(kubectl -n rook-ceph get pod -l app=rook-ceph-tools -o jsonpath='{.items[0].metadata.name}')" \ "$(kubectl -n rook-ceph get pod -l app=rook-ceph-tools -o jsonpath='{.items[0].metadata.name}')" \
ceph -s -- ceph -s