Add --skip-refresh option in helm dep build

Signed-off-by: yxxhero <aiopsclub@163.com>
pull/8886/head
yxxhero 4 years ago
parent fc9b46067f
commit 09af5447d9

@ -58,6 +58,7 @@ func newDependencyBuildCmd(out io.Writer) *cobra.Command {
Out: out,
ChartPath: chartpath,
Keyring: client.Keyring,
SkipUpdate: client.SkipRefresh,
Getters: getter.All(settings),
RepositoryConfig: settings.RepositoryConfig,
RepositoryCache: settings.RepositoryCache,
@ -77,6 +78,7 @@ func newDependencyBuildCmd(out io.Writer) *cobra.Command {
f := cmd.Flags()
f.BoolVar(&client.Verify, "verify", false, "verify the packages against signatures")
f.StringVar(&client.Keyring, "keyring", defaultKeyring(), "keyring containing public keys")
f.BoolVar(&client.SkipRefresh, "skip-refresh", false, "do not refresh the local repository cache")
return cmd
}

Loading…
Cancel
Save