title: How to filter out file names from a .File.Glob in a Helm Chart
body: <p>I have the following snippet in a helm library which is supposed to add in all the files in a folder into a ConfigMap except for those ending in .tz.</p>
  <pre><code>{{- /*
    add the contents of every file in the config folder of this IOC helm chart
    into the config map - this must include start.sh the startup script.
    The files must be text only. Any files ending in .tz are explicitly ommitted
  */ -}}
  
  {{ (.Files.Glob &quot;config/*[!.tz]&quot;).AsConfig | indent 2 }}
    version.txt: |
      IOC {{ .Release.Name }} version {{ .Chart.AppVersion }}
  </code></pre>
  <p>This does not quite work in that it filters out all files ending in . or t or z.</p>
  <p>I cant see how to do this with Go globbing. I also cannot work out the syntax for using 'without' for the list created by <code>.Files.Glob</code>.</p>
  <p>Can anyone enlighten me? Thanks!</p>