Error when deploying gocd through helm: This chart location is deprecated

54 views
Skip to first unread message

Ray

unread,
Dec 18, 2020, 2:50:03 PM12/18/20
to go-cd
Hi there,

I'm trying to recover my CI environment after having been forced to redeploy my Kubernetets cluster. I've done this in the past a few times without errors. Until today.

To show you from my data, the version I was running:

[root@nas app-server]# cat godata/plugins/bundled/version.txt 
19.10.0-10357 (44d61cc733a94287979f1fb99583d69139f386e4)

Which is chart version 1.19.3:

[root@nas gocd]# helm search repo -l stable/gocd | grep 19.10.0
stable/gocd 1.19.3        19.10.0    GoCD is an open-source continuous delivery serv...
stable/gocd 1.19.1        19.10.0    GoCD is an open-source continuous delivery serv...
stable/gocd 1.19.0        19.10.0    GoCD is an open-source continuous delivery serv...

I tried to do what I usually do:

[root@nas gocd]# helm install gocd-app stable/gocd --version 1.19.3 --namespace gocd --set server.persistence.storageClass=gocd-app-server-data
Error: template: deprecation/templates/NOTES.txt:10:3: executing "deprecation/templates/NOTES.txt" at <fail "\n*******************************************************\n* This chart location is deprecated. Learn more here: *\n* https://helm.sh/blog/charts-repo-deprecation/       *\n*******************************************************\n">: error calling fail: 
*******************************************************
* This chart location is deprecated. Learn more here: *
*******************************************************

This exact command has worked for me in the past multiple times, because I have automated my installation of my server. But now I get seem to hit this deprecation warning, but no hints as to how to solve it.
I searched gocd's github and this mailinglist for "helm" / "deprecated" but haven't found anyone with this same issue. Am I missing something obvious?

Any pointers to a way to solve this would be great

Kind regards,
Ray

Ray

unread,
Dec 18, 2020, 3:00:00 PM12/18/20
to go-cd
Oh, I should have done a broader not gocd specific search for this error..

helm repo add stable https://charts.helm.sh/stable

helm search repo stable


I apparently had this in my scripts somewhere: helm repo add stable https://kubernetes-charts.storage.googleapis.com

Now I'm running into other errors, but at least I'm having progress again. :')


Op vrijdag 18 december 2020 om 20:50:03 UTC+1 schreef Ray:
Reply all
Reply to author
Forward
0 new messages