Hello evryone,
In the last Helm charts Sonarqube installation (charts 1.1.6 app version 9.1.0), when i look at all the variable avaible in the plug-in section :
plugins.install
plugins.lib
plugins.resources
plugins.httpProxy
plugins.httpsProxy
plugins.noProxy
plugins.image
plugins.resources
plugins.netrcCreds
plugins.noCheckCertificate
plugins.securityContext
I can’t find those two variable (informations from a classic Sonarqube installation sonar.properties file) :
# Proxy authentication (used for HTTP, HTTPS and SOCKS proxies)
http.proxyUser=
http.proxyPassword=
So my question is how can i pass my proxy password to the sonar.properties file ?
Thanks for the help.
Best regards.
Vincent
Hello @VincentThisIsIt
thank for this question.
The plugins variables in the chart are indeed not offering you a way to set your proxy passwords.
But you can add a config map (or secrets if you need to store some passwords) to define the needed proxy environment variables (e.g. HTTP_PROXYPASSWORD).
The extraConfig variable then allows you to push these additional parameters to your SonarQube instance.
Let me know if this helps
Best regards
Sylvain
Hello,
Now evrything seems to be ok since i pushed a config map with a host, a port and a password.
I can see that my proxy is the good one in the conf, but now i got the error below, a 404 seems weird to me because i hit the official URL https://update.sonarsource.org/
sonarqube org.sonar.api.utils.SonarException: Fail to download: https://update.sonarsource.org/update-center.properties (HTTP proxy: my.proxy:my.port)
sonarqube Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 404 Not Found"
Thanks for help !
Vincent,
Best regards
Hello,
For your information, my namespace was configured with a istio-proxy container … by default, i don’t know that … now i kill the istio container and evrything works great.
Thanks for the help !
Best regards,
Vincent
1 Like