datreeio / helm-datree

A Helm plugin to validate charts against the Datree's CLI tool
https://hub.datree.io/integrations
MIT License
113 stars 26 forks source link

ignore chart dependencies #35

Open eyarz opened 2 years ago

eyarz commented 2 years ago

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