Since #197 landed in SonarQube's chart v9.0, it no longer works out of the box for Docker images prior to SonarQube 8.x, including the current 7.9.x LTS.
The change was made by because the SONARQUBE_* environment variables used by earlier versions were deprecated in favor of their SONAR_* equivalents in the Docker images for later versions of SonarQube.
As a workaround to use the latest chart, we've tried manually setting the deprecated environment variables via our HelmRelease:
Even if not restoring out-of-the-box support for the LTS variables, at least having an upgrade guide or some documentation about this limitation could be a workable alternative. (Though please note that this is a bit different from other backwards-incompatible defaults introduced in recent chart versions, such as the runAsUser value, which are pretty easily handled by overriding the appropriate chart values.)
Since #197 landed in SonarQube's chart v9.0, it no longer works out of the box for Docker images prior to SonarQube 8.x, including the current 7.9.x LTS.
The change was made by because the
SONARQUBE_*
environment variables used by earlier versions were deprecated in favor of theirSONAR_*
equivalents in the Docker images for later versions of SonarQube.As a workaround to use the latest chart, we've tried manually setting the deprecated environment variables via our HelmRelease:
...but it doesn't work because of the order in which env vars are listed in the deployment.
Even if not restoring out-of-the-box support for the LTS variables, at least having an upgrade guide or some documentation about this limitation could be a workable alternative. (Though please note that this is a bit different from other backwards-incompatible defaults introduced in recent chart versions, such as the
runAsUser
value, which are pretty easily handled by overriding the appropriate chart values.)See also: SonarSource/docker-sonarqube#473