Installing the DCE Helm chart

SonarQube Data Center Edition (DCE) can be installed from a customized SonarQube Server Helm chart.

Once you have customized the Helm chart, you can install ityou can install it via the command line from the Helm repository.

You can also overwrite Helm chart parameters directly in the installation command.

Use the following command to install the latest SonarQube Server Helm chart. If you want to deploy the SonarQube Server LTA version, you should install the LTA Helm chart, see the Helm chart documentation.

helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube-dce
helm upgrade --install -n sonarqube-dce sonarqube-dce sonarqube/sonarqube-dce

To define parameters in the command line, use --set. For example, if you haven’t defined the JWT secret when customizing the Helm chart, you may use the following installation command that includes creating a secret and configuring the Helm chart token parameter with this secret.

helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube-dce
export JWT_SECRET=$(echo -n "your_secret" | openssl dgst -sha256 -hmac "your_key" -binary | base64)
helm upgrade --install -n sonarqube-dce sonarqube-dce --set applicationNodes.jwtSecret=$JWT_SECRET sonarqube/sonarqube-dce

Last updated

Was this helpful?