Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Draft fails to create app if chart templates contain subdirectories #940

Open
jpetazzo opened this issue Jul 12, 2019 · 0 comments
Open
Labels

Comments

@jpetazzo
Copy link

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:

--> Ready to sail
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants