Skip to content

Instantly share code, notes, and snippets.

@Kuzyashin
Forked from naotookuda/refreash_helm.sh
Created May 31, 2023 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kuzyashin/62c75251007c837df233cc82d2b5cb38 to your computer and use it in GitHub Desktop.
Save Kuzyashin/62c75251007c837df233cc82d2b5cb38 to your computer and use it in GitHub Desktop.
How to refresh "helm" cache ?
# !/bin/bash
# Remove all files in these directories.
rm -rf ~/.helm/cache/archive/*
rm -rf ~/.helm/repository/cache/*
# Refreash repository configurations
helm repo update
#That's all.
#If you "helm search" next time, you can find newest stable charts in repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment