-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies before attempting to package with helm #30
Update dependencies before attempting to package with helm #30
Conversation
skip-checks: true
@@ -23,7 +23,7 @@ def helm_package( | |||
raise ValueError("output_file and output_directory cannot both be set") | |||
|
|||
with contextlib.ExitStack() as exit_stack: | |||
command = ["helm", "package", str(chart_path)] | |||
command = ["helm", "package", str(chart_path), "--dependency-update"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@callumPearce can we make this configurable with a keyword argument dependency_update
in helm_package
? (for which defaulting to True
is reasonable IMO)
command = ["helm", "package", str(chart_path), "--dependency-update"] | |
command = ["helm", "package", str(chart_path)] | |
if dependency_update: | |
command.append("--dependency-update") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, definitely!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,6 +16,7 @@ def helm_package( | |||
output_directory: Path | None = None, | |||
app_version: str | None = None, | |||
version: str | None = None, | |||
update_chart_dependencies: bool = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update_chart_dependencies: bool = True | |
update_chart_dependencies: bool = True, |
No description provided.