sonar.lf.logoUrl still broken in SonarQube 10.6

My workaround for the logo is to store it on the same domain server.

For users deploying SonarQube via Helm this can be achieved via an initContainer and and empty volume to added via the values.yaml and image added on the web/images folder.

  extraVolumes:
    - name: download-assets
      emptyDir: {}
  extraVolumeMounts:
    - name: download-assets
      mountPath: /opt/sonarqube/web/images
  extraInitContainers:
    - name: download-assets
      image: sonarqube:10.6.0-enterprise
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: download-assets
          mountPath: /tmp/download-assets
      command:
        - bash
        - -ec
        - |
          rm -Rf /tmp/download-assets/* &&
          cp -R /opt/sonarqube/web/images/* /tmp/download-assets/ &&
          wget -q https://<original image location>.png &&
          echo "Done"
2 Likes