loft icon indicating copy to clipboard operation
loft copied to clipboard

apps installed from custom helm repo is not getting version updates

Open blairham opened this issue 5 years ago • 2 comments

When you have an app installed from a custom URL it does not get helm version updates.

for example:

helm search repo spotinst
NAME                                           	CHART VERSION	APP VERSION	DESCRIPTION
spotinst/spotinst-kubernetes-cluster-controller	1.0.76       	1.0.67     	A Helm chart for Spotinst Kubernetes cluster co...

You can see here that the latest chart version if 1.0.76, however, Loft is not showing it as outdated nor as a selection in the dropdown menu.

blairham avatar Sep 29 '20 19:09 blairham

@blairham thanks for opening this issue! Currently updates from a private repo are only supported if that private repo is in the list of app repos loft knows about. You can change the list of repos with the environment variable APPSTORE_REPOS_URL or APPSTORE_REPOS_FILE if its a file within the loft container. The repo file has the following format (check at https://raw.githubusercontent.com/loft-sh/loft/master/appstore/repos.yaml for the current repo file):

sync:
  repos:
    - name: devspace
      url: https://charts.devspace.sh
    - name: stable
      url: https://kubernetes-charts.storage.googleapis.com
    - name: incubator
      url: https://kubernetes-charts-incubator.storage.googleapis.com
    - name: jfrog
      url: https://charts.jfrog.io
...

As soon as your private repo is part of this file, all the charts of the repo will also appear in the chart selector when you are adding a new app. If you only add your private repo it will not show any other charts anymore, so please be aware of that, you could just copy the file at https://raw.githubusercontent.com/loft-sh/loft/master/appstore/repos.yaml and add yours if you want to just add a single private repo.

FabianKramm avatar Sep 30 '20 07:09 FabianKramm

Thanks, @FabianKramm , I'll take a look.

blairham avatar Sep 30 '20 12:09 blairham

Going to close this out as its quite old now, but feel free to re-open/open a new issue if there are any lingering questions/problems!

carlmontanari avatar Nov 02 '22 19:11 carlmontanari