Support for `_helpers.tpl` files
Helm charts can have files such as _helpers.tpl. These files define resources commonly used among multiple YAMLs. To see an example of this file, you can use the command helm create <name_of_your_new_chart>, and in the templates subfolder, you should find a _helpers.tpl file.
With Cyclops, it seems that _helpers.tpl files are not working properly → the labels are generated but not the values
app.kubernetes.io/name: {{ include "name_of_your_new_chart.name" . }} will equal app.kubernetes.io/name: (empty)
@KaradzaJuraj I would like to take this issue.
Awesome, feel free to post updates and questions here.
With Cyclops, it seems that _
helpers.tplfiles are not working properly → the labels are generated but not the valuesapp.kubernetes.io/name: {{ include "name_of_your_new_chart.name" . }}will equalapp.kubernetes.io/name:(empty)
@KaradzaJuraj I have a question, do you want to include a _helpers.tpl under templates directory for the cyclops chart ?
Hey @Sheikh-Abubaker, the issue is about supporting .tpl files while rendering a template into YAML (here)
I am doing some refactoring which will fix this issue as well