mathieucarbou / license-maven-plugin

Manage license headers in your source files

Home Page:https://oss.carbou.me/license-maven-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support helm template comment style

jfallows opened this issue · comments

Describe the feature

Helm chart templates use the following syntax for comments.

{{/*
...comment...
*/}}

We would like to be able to license check all of our helm chart source files, including any templates using the following configuration.

<configuration>
  <mapping>
    <tpl>HELM_TEMPLATE_STYLE</tpl>
  </mapping>
</configuration>

Any alternative you've considered ?

We tried the following but it did not work because mustache style is similar but still not valid syntax for helm chart template files.

<configuration>
  <mapping>
    <tpl>MUSTACHE_STYLE</tpl>
  </mapping>
</configuration>

Note: we realized we can instead use SCRIPT_STYLE to also include the license comment in the .yaml generated from the template, which is a reasonable workaround versus not checking the license header for helm template files.

commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.