Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

upgrade Sonarqube helm chart 9.6.2 to 9.10.1 fails. #342

@arthurala

Description

@arthurala

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions