Error installing 8.9 using helm in K8S

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Currently using 7.6
  • what are you trying to achieve
    upgrading my current version in K8S to 8.9 using helm 2.16.9
  • what have you tried so far to achieve this
    tried using your documentation provided here: helm-chart-sonarqube/charts/sonarqube at master · SonarSource/helm-chart-sonarqube · GitHub
    but was running to an error during helm upgrade saying " Error: error unpacking ingress-nginx-3.29.0.tgz in sonarqube: apiVersion ‘v2’ is not valid. The value must be “v1” "

Hi @Shahar_Shmaram and welcome to SonarSource community!

First of all, your upgrade path cannot be directly to 8.9 LTS. You must first upgrade from 7.6 to 7.9 LTS to ensure the database is migrated correctly. Since you are most likely running 7.6 in a non-dockerized environment (can you confirm please?), make sure to perform this upgrade without changing the environment.

Second, you would need to have Helm v3+ to be able to install the optional NGINX Ingress Controller as it relies on Helm’s apiVersion v2. You have two options here:

  1. You have no problem in upgrading to Helm v3: I would then recommend upgrading.
  2. You decide you do not need the optional NGINX ingress controller to be installed or you cannot upgrade Helm, and you already have another ingress controller available or installed so that you can still make SonarQube accessible. In this case, deactivate the NGINX Ingress controller installation by editing the values.yaml file in the SonarQube Helm Chart as explained in our Documentation.


    enabled: false

Best regards,


That worked, Thanks!!