Fix error if output directory didn't exist
Change-Id: Ib1fecac1433bf20d4c6c45a4f13b17ee8c864e73
This commit is contained in:
parent
451882b7e9
commit
aab93a806b
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ def install(config_manager, output_dir, dryrun, update_repo):
|
||||||
update_repo {boolean} -- Whether to update the helm repositories locally
|
update_repo {boolean} -- Whether to update the helm repositories locally
|
||||||
"""
|
"""
|
||||||
config = config_manager.get_config()
|
config = config_manager.get_config()
|
||||||
|
|
||||||
|
if not os.path.exists(output_dir):
|
||||||
|
os.mkdir(output_dir)
|
||||||
|
|
||||||
_run_ytt(config, output_dir)
|
_run_ytt(config, output_dir)
|
||||||
|
|
||||||
namespace = config_manager.get_config()["namespace"]
|
namespace = config_manager.get_config()["namespace"]
|
||||||
|
|
Loading…
Reference in a new issue