Comments (2)
You can't currently do this in one pass, insertFile
will not template files - it only inserts their contents.
I think that the recent PR from Nokia was about a similar case and they opted for doing the templating in two steps instead, you may want to read up on the conversation here: #125
from kontemplate.
Uhm, yes probably this might be a good workaround.
from kontemplate.
Related Issues (20)
- Interpolating yaml as a template variables HOT 1
- Kubectl errors not revealed by kontemplate apply HOT 3
- Templating for global variables HOT 7
- Add change cause for "Kontemplate apply" HOT 2
- Version 1.6 values vs global HOT 22
- Allow specifying the kubectl executable HOT 4
- [Feature] Ability to exclude some resources (or files) from template processing HOT 5
- kontemplate create does not send everything to kubectl HOT 3
- allow passing variables from command line HOT 1
- Not able to use all sprig functions HOT 4
- 1.6 global settings work differently from 1.5 global settings HOT 2
- Can't access sub-values in the new default function HOT 5
- A way to apply config with options (--as-admin, --as-group) HOT 2
- Override nested variables HOT 3
- Ability to resuse the template vairable within the master template and k8s resources HOT 1
- Please make a new release HOT 2
- Help me to beat my issue HOT 1
- Add support for null checks HOT 1
- Wrong term in cluster config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kontemplate.