Always update dependencies before linting charts
Change-Id: Ie125246d79972e0b920b8fcddfd2b12b35889778
diff --git a/helmlint.sh b/helmlint.sh
index c068c28..1f97e50 100755
--- a/helmlint.sh
+++ b/helmlint.sh
@@ -49,11 +49,8 @@
echo "Checking chart: $chartdir"
- # update dependencies for profiles/workflows, as they include TOSCA from required charts
- if [[ $chartdir =~ xos-profiles || $chartdir =~ workflows ]] && [ -f "${chartdir}/requirements.yaml" ]
- then
- helm dependency update "${chartdir}"
- fi
+ # update dependencies (if any)
+ helm dependency update "${chartdir}"
# lint the chart (with values.yaml if it exists)
if [ -f "${chartdir}/values.yaml" ]; then