From fc89a13c7e697da44d72ac5f88cba00f620a1dd3 Mon Sep 17 00:00:00 2001 From: thisisobate Date: Tue, 16 Jan 2024 04:32:20 +0100 Subject: [PATCH] Chore: Update helm dep up command docs to reflect correct behaviour Signed-off-by: thisisobate --- cmd/helm/dependency_update.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/helm/dependency_update.go b/cmd/helm/dependency_update.go index ad0188f17..91fc3d39c 100644 --- a/cmd/helm/dependency_update.go +++ b/cmd/helm/dependency_update.go @@ -37,9 +37,9 @@ the latest charts that satisfy the dependencies, and clean up old dependencies. On successful update, this will generate a lock file that can be used to rebuild the dependencies to an exact version. -Dependencies are not required to be represented in 'Chart.yaml'. For that -reason, an update command will not remove charts unless they are (a) present -in the Chart.yaml file, but (b) at the wrong version. +Dependencies are not required to be represented in 'Chart.yaml'. Adding dependencies will remove +all .tgz charts when calling 'helm dep up'. The update (up) command will not remove charts unless +they are recognized as an up-to-date version of a chart dependency declared in 'Chart.yaml'. ` // newDependencyUpdateCmd creates a new dependency update command.