From 44870720038753d872d174d8d364a36540514aaf Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Mon, 17 Jun 2024 19:16:00 +0100 Subject: [PATCH] docs: warn users on ingoring tgz files in helmignore Signed-off-by: Evans Mungai --- content/en/docs/chart_template_guide/helm_ignore_file.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/docs/chart_template_guide/helm_ignore_file.md b/content/en/docs/chart_template_guide/helm_ignore_file.md index 623d428e6..ad84ec334 100644 --- a/content/en/docs/chart_template_guide/helm_ignore_file.md +++ b/content/en/docs/chart_template_guide/helm_ignore_file.md @@ -51,13 +51,15 @@ a[b-d].txt temp? ``` -Some notable differences from .gitignore: +#### 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. - It does not exclude itself by default, you have to add an explicit entry for `.helmignore` +#### Pitfalls to avoid +- Do not add `*.tgz` to your list of ignore rules because `helm package` will ignore dependency archives from being packaged in your chart. Instead, narrow down your glob filter or specify exact file names in your rule that does not conflict with any dependency packages **We'd love your help** making this document better. To add, correct, or remove information, [file an issue](https://github.com/helm/helm-www/issues) or send us a