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
How to reproduce:
We obtain the following error:
Clean up with:
If we repeat the same steps, but remove the
templates/test
subdirectory, Draft is happy: