wso2 / kubernetes-apim

Kubernetes and Helm resources for WSO2 API Manager
Apache License 2.0
112 stars 216 forks source link

Changed JDBC driver jar mount path. #551

Closed Tharsanan1 closed 2 years ago

Tharsanan1 commented 2 years ago

Purpose

When starting the application on kubernetes cluster, the jdbc driver should be placed inside lib folder.

Approach

Changed the mount volume sub path to 'repository/components/lib'.

RakhithaRR commented 2 years ago

@Tharsanan1 can you send the same fix for 4.1.x branch as well?

Nirothipan commented 2 years ago

Can you link the relevant issue.

Tharsanan1 commented 2 years ago

Can you link the relevant issue.

The issue was observed when installing the helm chart with non-osgi database bundles. The problem was that the helm chart places the driver inside repository/components/dropins folder which will only accept OSGi bundles. To resolve this issue helm chart JDBC driver path was modified to mount to repository/components/lib