Skip to content

Instantly share code, notes, and snippets.

@arn-ob
Forked from naotookuda/refreash_helm.sh
Created November 9, 2022 06:01
Show Gist options
  • Save arn-ob/55d61104393f443f54bb265c4f022b91 to your computer and use it in GitHub Desktop.
Save arn-ob/55d61104393f443f54bb265c4f022b91 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