From fbdb1da9bb40b810eb6615685883445c1c952f29 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Thu, 18 Jul 2024 12:12:38 +0800 Subject: [PATCH] helm: support remove helm dependency Signed-off-by: Lianhao Lu --- helm-charts/update_dependency.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm-charts/update_dependency.sh b/helm-charts/update_dependency.sh index 811c9fc5..cef751e1 100755 --- a/helm-charts/update_dependency.sh +++ b/helm-charts/update_dependency.sh @@ -7,5 +7,7 @@ UPD_DIR=$(cd $(dirname "$0") && pwd) for chart in ${UPD_DIR}/common/* do echo "Update dependency for `basename $chart`..." + rm -f ${chart}/Chart.lock + rm -rf ${chart}/charts/ helm dependency update ${chart} done