Refine .helmignore to reduce unneeded items in chart bundles
Summary
Following #3423 (closed), we should further improve the Helm package / bundle output to include less superfluous items. This is done project wide through the appropriate modifications to our .helmignore
file.
Details
$ helm fetch gitlab/gitlab
$ ls gitlab-*.tgz
gitlab-6.2.0.tgz
$ tar tf gitlab-6.2.0.tgz | grep '\.md$\|^gitlab/\.'
gitlab/.markdownlint.yml
gitlab/.rubocop.yml
gitlab/.rubocop_todo.yml
gitlab/.vale.ini
gitlab/CHANGELOG.md
gitlab/CONTRIBUTING.md
gitlab/LICENSE.md
gitlab/README.md
gitlab/charts/registry/CHANGELOG.md
gitlab/charts/registry/index.md
gitlab/charts/gitlab-runner/CHANGELOG.md
gitlab/charts/gitlab-runner/CONTRIBUTING.md
gitlab/charts/gitlab-runner/README.md
gitlab/charts/grafana/README.md
gitlab/charts/nginx-ingress/README.md
gitlab/charts/postgresql/README.md
gitlab/charts/postgresql/files/README.md
gitlab/charts/postgresql/files/conf.d/README.md
gitlab/charts/postgresql/files/docker-entrypoint-initdb.d/README.md
gitlab/charts/prometheus/README.md
gitlab/charts/prometheus/charts/kube-state-metrics/README.md
gitlab/charts/redis/README.md
gitlab/charts/cert-manager/README.md
Documentation of .helmignore file indicates a few important items:
Some notable differences from .gitignore:
- The '**' syntax is not supported.
- The globbing library is Go's 'filepath.Match', not fnmatch(3)
- Trailing spaces are always ignored (there is no supported escape sequence)
- There is no support for '!' as a special leading sequence.
Current behavior
Excess content, that is not needed or consumed by Helm is distributed.
Examples:
- Several documentation items, which may not be useful by the consumer
- Do we need the full changelog.md?
- Should this have contibuting.md?
- Various CI / project related configuration files
- Rakefile,
deps.yml
, Rubocop, Vale
- Rakefile,
Expected behavior
Package is "lean"
Versions
- Chart: Up to 6.2.0+
Edited by Jason Plum