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

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

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:

--> Ready to sail

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions