Oleksandr Sh
Oleksandr Sh

Reputation: 11

How can I change sonarqube work path from default

I have a GKE cluster with deployed SonarQube. Also, we added istio, and changed the work path from http://IP_ADDRESS to http://IP_ADDRESS/sonarqube/.

Now we get an error, because sonarqube tries to find general files in http://IP_ADDRESS, but should check in http://IP_ADDRESS/sonarqube/.

We use https://github.com/helm/charts/tree/master/stable/sonarqube for deployment. How can I change the work path, which value should I change? Please help.

Upvotes: 0

Views: 495

Answers (2)

begarco
begarco

Reputation: 776

You can set this properties: sonar.web.host.

Upvotes: 0

Oleksandr Sh
Oleksandr Sh

Reputation: 11

Added: livenessProbe: sonarWebContext: /sonarqube/ readinessProbe: sonarWebContext: /sonarqube/ extraEnv: sonar.web.context: /sonarqube

Now it works.

Upvotes: 1

Related Questions