This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Description
How to reproduce:
cd /tmp
mkdir -p local-pack-repo/packs/my-local-pack
helm create local-pack-repo/packs/my-local-pack/charts
ls -l local-pack-repo/packs/my-local-pack/charts/templates
# See how "templates" contains a subdirectory, "tests"
draft pack-repo add local-pack-repo/
draft pack list
# Confirm that the output contains "local-pack-repo/my-local-pack"
mkdir app && cd app && draft create --pack my-local-pack
We obtain the following error:
Error: open charts/app/templates/tests/test-connection.yaml: no such file or directory
Clean up with:
draft pack-repo remove local-pack-repo
rm -rf /tmp/local-pack-repo /tmp/app
If we repeat the same steps, but remove the templates/test subdirectory, Draft is happy: