.helmignore does not ignore symlinks
Author: graywolf-s1Created Aug 29, 2024Updated Sep 17, 2026
Labelsbug
Output of helm version:
version.BuildInfo{Version:"v3.15.4", GitCommit:"fa9efb07d9d8debbb4306d72af76a383895aa8c4", GitTreeState:"clean", GoVersion:"go1.22.6"}Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.17", GitCommit:"22a9682c8fe855c321be75c5faacde343f909b04", GitTreeState:"archive", BuildDate:"2024-01-11T20:07:07Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.4Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS, self-managed clusterWhen I put a symlink (broken) into the .helmignore file, helm template still fails. Reproduction:
$ helm create test
Creating test
$ cd test
$ cd templates
$ ln -s foo bar
$ cd ..
$ echo bar >>.helmignore
$
$ helm template .
Error: error evaluating symlink /tmp/repro/test/templates/bar: lstat /private/tmp/repro/test/templates/foo: no such file or directorySource: helm/helm