-
Notifications
You must be signed in to change notification settings - Fork 16
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
Ignore templating some file or directories #167
Comments
Did you try |
Yes, but skip_files ignores those files, and they do not appear in the rendered project. In my case, I want to disable templating, but I need them in the rendered project. So, I simply want to copy/paste them without attempting to template. |
Oh, I gotcha. Sorry, read too quickly, and misunderstood. A |
Any chance this can be pushed through? I'd like to use this project for some projects but I have some Ansible scripts that need to be included in the templated project that need to be skipped from templating, similar to @vDMG 's problem. I don't quite understand the workaround, since it doesn't seem like it would avoid boilerplating from trying to template the files inside of the project directory. |
First, thanks for open-sourcing this super cool project !
Describe the solution you'd like
We need a method to disable the templating for certain files/folders, especially when dealing with components like Helm chart templates that already include Go templates. In such cases, we don't want
boilerplate
to template them; instead, we need to output them as-is.Describe alternatives you've considered
Not sure there is a clean way to do this but I found this workaround :
Additional context
I propose to add a property like
disable_templating
orskip_templating
to the boilerplate manifest working the same wayskip_files
works but instead of skipping them we just copy them as-is.WDYT ? If you like this proposal i'd love to contribute to the project.
The text was updated successfully, but these errors were encountered: