Configure Sonarqube to use custom certificates for routes on Openshift/Kubernetes

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    8.9.0-enterprise
  • what are you trying to achieve
    We need to configure Sonarqube server to use custom certificates instead of the default certificates provided by Openshift/Kubernetes as part of the route.
  • what have you tried so far to achieve this
    Havent yet, Does Sonarqube supports passthrough or edge route , if yes how can we configure the same

Hi @dixitgangaiah and welcome to the community :wave:

i am not really sure that i understood where you want to go with that but yeah there is a init container in our helm chart that copies custom certificates into the java truststore that is consumed by sonarqube (see values.yaml and sts.yaml ).

hope that helps :slight_smile:

Thanks @Tobias_Trabelsi , we are not using Helm charts, Sonarqube is deployed using pure kubernetes deployment manifest, I will checkout the helm charts to see where they are copied and how I can incorporate same in my deployment files.