Installing Helm chart
How to install the Helm chart for SonarQube Community Build.
General installation command
helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube
export MONITORING_PASSCODE="yourPasscode"
helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube --set community.enabled=true,monitoringPasscode=$MONITORING_PASSCODEExample: installing on OpenShift
helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube
export MONITORING_PASSCODE="yourPasscode"
export JDBC_URL="jdbc:postgresql://myPostgres/myDatabase"
export JDBC_USERNAME="jdbc-username"
export JDBC_PASSWORD_SECRET_NAME="jdbc-secret"
export JDBC_PASSWORD_SECRET_KEY="jdbc-password"
helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube \
--set OpenShift.enabled=true \
--set community.enabled=true \
--set monitoringPasscode=$MONITORING_PASSCODE \
--set jdbcOverwrite.jdbcUrl=$JDBC_URL \
--set jdbcOverwrite.jdbcUsername=$JDBC_USERNAME \
--set jdbcOverwrite.jdbcSecretName=$JDBC_PASSWORD_SECRET_NAME \
--set jdbcOverwrite.jdbcSecretPasswordKey=$JDBC_PASSWORD_SECRET_KEYSetting up an external database for testing
Related pages
Last updated
Was this helpful?

