How to add the oracle driver when installing with Helm

Hi.

I’m installing SQ on Openshift using Helm (chart version 8.0.0+463). I want to use an external Oracle database. So, I need to add its driver to the installation but I can’t see how to do it. I find no option in the values.yaml to add the driver. How can be done?

Thank you.

Dear @mgarrido,

thanks for posting in our community. Our helm charts indeed lack an explicit parameter that let user install such driver. I’ve drafted a new task for it [SONAR-19541] - Jira.

In the meanwhile, you might want to have a look at the extraVolumeMounts parameter, that you can use to mount an extra volume containing the jdbc driver in the path where SQ expects the driver to be (i.e., <SONARQUBE_HOME>/extensions/jdbc-driver/oracle).

Does this workaround work for you?

Yes, that workaround works for me. Thank you.

1 Like