Oteemo / charts

Helm chart repository
https://oteemo.github.io/charts
MIT License
181 stars 231 forks source link

upgrade Sonarqube helm chart 9.6.2 to 9.10.1 fails. #342

Open arthurala opened 2 years ago

arthurala commented 2 years ago

We are running Sonarqube 8.5.1-developer with chart 9.6.2. The dev team asked me to upgrade to v.8.9.7-developer. I checked Oteemo charts and found the template is 9.10.1. When I went through the upgrade process (app upgrade via Rancher console) I get the following error: ERROR: Wait helm template failed. Error: parse error in "sonarqube/templates/secret.yaml": template: Sonarqube/templates/secret.yaml:16: function "lookup" not defined : exit status 1

So I rolled back (with no issues) and tried going from chart 9.6.2 to 9.6.3 (8.5.1-developer) but get the following error: Wait helm template failed. Error: render error in "sonarqube/templates/ingress.yaml": template: sonarqube/templates/ingress.yaml:47:32: executing "sonarqube/templates/ingress.yaml" at <.Capabilities.APIVersions.Has>: nil pointer evaluating interface {}.APIVersions : exit status 1

How do I get past the error? I have tried adding postgresql values to bypass the "lookup" in secret.yaml but it doesnt work postgresql: existingSecret: "sonarqube-postgresql" postgresqlPassword: "xxxxxxx" postgresqlUsername: "xxxxxx"