Logo
Explore Help
Register Sign In
kairos/luet
1
0
Fork 0
You've already forked luet
mirror of https://github.com/mudler/luet.git synced 2025-10-20 10:23:09 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
b37ea7a47f26c1c4e088cf748fb41b6b01f2e212
luet/tests/fixtures/shared_templates/templates/writefile.yaml

3 lines
61 B
YAML
Raw Normal View History

Allow to have shared templates across packages This changeset allows to have shared templates in a static folder "templates" present in each luet tree. If the directory is present, it gets scanned and templated accordingly on top of each package. This allows to use such folder to store custom blocks to share between packages. This is still experimental and subject to change, this is just a first pass version to provide the feature. It needs to be refined still as it would be more elegant to use the helm engine properly and map our structure to the engine instead of adapting it roughly. Fixes #224
2021-08-04 16:16:54 +02:00
{{ define "writefile" }}
- echo conflict > /foo/{{.}}
{{end}}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 600ms Template: 32ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API