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. ``` sh-4.4$ python3 create-external-cluster-resources.py --dry-run=True The script is checking conflicting options The script is fetching cephFS data pool details The script is getting fsid The script is fetching ceph mon external data The script is fetching/creating key for rook external user The script is fetching mgr services The script is fetching/creating Ceph CSI keyring for RBD provisioner The script is fetching/creating Ceph CSI keyring for RBD provisioner The script is mon endpoint and mon endpoint port None The script is checks if connected then shutdown ``` Signed-off-by: subhamkrai <srai@redhat.com>
- Loading branch information
1 parent
3d69e10
commit 084f27b
Showing
1 changed file
with
60 additions
and
13 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