kube-burner / kube-burner

Kubernetes performance and scale test orchestration framework written in golang
https://kube-burner.github.io/kube-burner/
Apache License 2.0
503 stars 102 forks source link

[RFE] user defined global sub templates #674

Open nocturnalastro opened 3 months ago

nocturnalastro commented 3 months ago

Is your feature request related to a problem? Please describe. I find there are common bits of logic that I wish to have shared across templates.

Describe the solution you'd like The ability to register a set sub-template definitions

{{ define "foo" }}
...
{{ end }}

These are added to each tree of the parsed so they can be used in all templates.

Describe alternatives you've considered None

Additional context I work on another project which has a similar feature which we implement here and I'm happy to help implement this if you want.

github-actions[bot] commented 1 week ago

This issue has become stale and will be closed automatically within 7 days.

nocturnalastro commented 1 week ago

@rsevilla87 @vishnuchalla What do you think?