Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore chart dependencies #35

Open
eyarz opened this issue Apr 20, 2022 · 0 comments
Open

ignore chart dependencies #35

eyarz opened this issue Apr 20, 2022 · 0 comments
Labels
enhancement New feature or request up for grabs Looking for a contributor to take this task

Comments

@eyarz
Copy link
Member

eyarz commented Apr 20, 2022

Is your feature request related to a problem? Please describe.
Today, if I will ran datree to test a chart with dependencies (that are not installed), I will get the following error message:
Error: An error occurred while checking for chart dependencies. You may need to run 'helm dependency build' to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory [CHART_NAME]
image

Describe the solution you'd like
A flag to skip pre-installed dependencies requirement: helm datree test [CHART_DIRECTORY] --ignore-dependencies
--ignore-dependencies -> this flag is just an example.

Describe alternatives you've considered
Comment out dependencies section from Chart:
image

Additional context

  • Default behavior - include testing dependencies
  • If missing dependencies message is raised - suggest the user to use the flag
@eyarz eyarz added enhancement New feature or request up for grabs Looking for a contributor to take this task labels Apr 20, 2022
@stale stale bot added the stale issue label Apr 27, 2022
@datreeio datreeio deleted a comment from stale bot Apr 27, 2022
@stale stale bot removed the stale issue label Apr 27, 2022
@stale stale bot added the stale issue label May 4, 2022
@datreeio datreeio deleted a comment from stale bot May 5, 2022
@stale stale bot removed the stale issue label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request up for grabs Looking for a contributor to take this task
Projects
None yet
Development

No branches or pull requests

1 participant