Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: add dry run mode for external cluster script
Adding dry run mode for external cluster script. This will add cli argument `--dry-run`. By default `dry-run` option will be `False` which means it will only print something like below. ``` The script is running command ceph fs ls The script is running ceph fsid The script is running command ceph quorum_status The script is running command ceph auth get-or-create client.healthchecker mon The script is running command ceph mgr services The script is running command ceph auth get-or-create client.csi-rbd-node mon The script is running command ceph auth get-or-create client.csi-rbd-provisioner mon The script is running command ceph status None ``` Signed-off-by: subhamkrai <srai@redhat.com>
- Loading branch information
1 parent
3d69e10
commit e44dcd4
Showing
2 changed files
with
53 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters