Skip to content
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

render_charm: include is broken for nested paths #39

Open
johnsca opened this issue Dec 7, 2021 · 0 comments
Open

render_charm: include is broken for nested paths #39

johnsca opened this issue Dec 7, 2021 · 0 comments

Comments

@johnsca
Copy link
Contributor

johnsca commented Dec 7, 2021

When using the include param to render_charm() with a path with several directory levels, to selectively apply templating to specific files, the parent directories have to be explicitly included as well or they will not be traversed down in the walk. Any directory which is a prefix of a path in include should be implicitly included.

johnsca added a commit to canonical/istio-operators that referenced this issue Dec 7, 2021
@johnsca johnsca changed the title render_charm: Included files don't include parent dirs render_charm: include is broken for nested paths Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant