Skip to content

Commit

Permalink
Merge pull request #38 from truenas/mrehan/ix-values
Browse files Browse the repository at this point in the history
NAS-130323 / 24.10 / Make sure ix_values.yaml file is provided to compose rendering if it exists
  • Loading branch information
Qubad786 authored Jul 30, 2024
2 parents 129a108 + ae1032c commit 945d831
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion catalog_templating/scripts/render_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ def render_templates_from_path(app_path: str, values_file: str) -> None:

verrors.check()

rendered_data = render_templates(app_path, get_values(values_file))
rendered_data = render_templates(
app_path, get_values(values_file) | get_values(os.path.join(app_path, 'ix_values.yaml'))
)
write_template_yaml(app_path, rendered_data)


Expand Down

0 comments on commit 945d831

Please sign in to comment.