Fixes for cfg-checker for proper handling of K8s env with SSL errors
- SSL insecure option
- Pod naming handling updates
Related-PROD: PROD-35903
Change-Id: I61d85124ac9c89693d1d3f3a165912241d3e549d
diff --git a/cfg_checker/cli/arguments.py b/cfg_checker/cli/arguments.py
index 9ccf2f7..4442324 100644
--- a/cfg_checker/cli/arguments.py
+++ b/cfg_checker/cli/arguments.py
@@ -14,6 +14,12 @@
help="Set CLI logging level to DEBUG"
)
parser.add_argument(
+ "-k",
+ "--insecure",
+ action="store_true", default=False,
+ help="Use insecure way in SSL requests"
+ )
+ parser.add_argument(
'-s',
'--sudo',
action='store_true', default=True,