You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug/feature
When you render a file with the jinja2 input type, it remembers the file mode (e.g. executable). With the jsonnet input type this is not working.
To Reproduce
Steps to reproduce the behavior:
Have a jsonnet input with the following main.jsonnet:
Hey @sanyam1997 this particular issue requires a bit more thought as jsonnet per se does not allow doing this. An idea to solve this issue is to allow setting a new option in the inventory to set the mode file permissions for a particular pattern of files.
I suggest you have a look at the inputs/base.py which already has basic support for this, but needs to be rethought.
Hey @ramaro, I am new to open source and was looking for some guidance during the initial phase of open source contribution. Can you please email me at [email protected]?
This issue is stale because it has been open for 1 year with no activity.
Remove the stale label or comment if this issue is still relevant for you.
If not, please close it yourself.
Describe the bug/feature
When you render a file with the jinja2 input type, it remembers the file mode (e.g. executable). With the jsonnet input type this is not working.
To Reproduce
Steps to reproduce the behavior:
template/apply.sh
exists and has executable flags (chmod +x template/apply.sh)Expected behavior
the output file apply.sh should have the same file mode as the input template
The text was updated successfully, but these errors were encountered: