loft icon indicating copy to clipboard operation
loft copied to clipboard

helm stable repo in loft is using the now depricated url

Open blairham opened this issue 4 years ago • 4 comments

Currently, you can not update helm apps due to the now deprecated URL. According to this article on November 13th, the old repos are now deprecated.

Expected Results Installing/Upgrading an app through loft should continue to work.

blairham avatar Nov 18 '20 14:11 blairham

@blairham thanks for opening this issue! What is the error that you are receiving? Currently the stable repo is still listed in our app repo list, however we will remove that eventually. If you want to change the repository of an installed app, you can go to Clusters -> Apps and click on the Show Yaml button. Then change the repository URL in the spec section:

apiVersion: cluster.loft.sh/v1
kind: HelmRelease
metadata:
  ...
spec:
  chart:
    name: docker-registry
    version: 1.9.6 <- Change this to the new version
    repoURL: 'https://kubernetes-charts.storage.googleapis.com' <- Change this URL to the new repo URL
status:
  ...

Then press update and loft will change the repo and version of the app. We cannot do this automatically since we don't know for each chart how the new repository is called, hence why you need to update this manually.

FabianKramm avatar Nov 23 '20 11:11 FabianKramm

@FabianKramm here is the error I get:

Error: error executing helm upgrade metrics-server metrics-server --repo https://kubernetes-charts.storage.googleapis.com --version 2.11.4 --kubeconfig /tmp/737422969 --namespace kube-system --install --values /tmp/486389636: Error: failed to download "https://charts.helm.sh/stable/metrics-server-2.11.4.tgz" (hint: running helm repo update may help)

I've already changed the repo, through the edit yaml to https://charts.helm.sh/stable which works

The only issue is it does not check this URL for updates, and I have not changed the default repo list yet

blairham avatar Nov 23 '20 17:11 blairham

@blairham the problem is that some paths are wrong currently in the stable helm repo (if you click on the link you'll notice the file actually doesn't exist, thats why you get this error). We'll add an option soon to define custom chart repos easier.

FabianKramm avatar Nov 26 '20 08:11 FabianKramm

@FabianKramm yeah that is due to the deprication of the stable repo ;) they moved it to https://charts.helm.sh/stable from https://kubernetes-charts.storage.googleapis.com

blairham avatar Nov 28 '20 17:11 blairham

I think all of this should be sorted out at this point, so I'm going to close this one out. Please feel free to re-open/open up a new issue if there are some lingering problems here!

carlmontanari avatar Nov 02 '22 19:11 carlmontanari