Skip to content

Commit

Permalink
Fix deploy function when chart is not specified (#123)
Browse files Browse the repository at this point in the history
- Small fix from after #122 , when the deploy function is called from `namespace_init()` or `cluster_init()` without specifying a chart
  • Loading branch information
jarojasm95 authored Mar 1, 2022
1 parent d25b5cf commit a079d14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aladdin/commands/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def deploy_args(args):
args.project,
args.git_ref,
args.namespace,
args.chart or args.project,
args.chart,
args.dry_run,
args.force,
args.force_helm,
Expand All @@ -64,6 +64,7 @@ def deploy(
set_override_values=None,
values_files=None
):
chart = chart or project
if set_override_values is None:
set_override_values = []
with tempfile.TemporaryDirectory() as tmpdirname:
Expand Down

0 comments on commit a079d14

Please sign in to comment.