mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-08-25 09:27:36 +00:00
run_kraken.py: resolve ~ with kubeconfig
as we default to ~ for kubeconfig, we need to be able to read it. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
This commit is contained in:
committed by
Sandro Bonazzola
parent
0c36903fff
commit
80829fcafe
+1
-1
@@ -43,7 +43,7 @@ def main(cfg):
|
||||
config = yaml.full_load(f)
|
||||
global kubeconfig_path, wait_duration
|
||||
distribution = config["kraken"].get("distribution", "openshift")
|
||||
kubeconfig_path = config["kraken"].get("kubeconfig_path", "")
|
||||
kubeconfig_path = os.path.expanduser(config["kraken"].get("kubeconfig_path", ""))
|
||||
chaos_scenarios = config["kraken"].get("chaos_scenarios", [])
|
||||
publish_running_status = config["kraken"].get(
|
||||
"publish_kraken_status", False
|
||||
|
||||
Reference in New Issue
Block a user