Custom provider not getting recognised in keycloak 18 deployed in kubernetes

Hi team,

I'm facing one issue where my custom providers are not getting recognised in keycloak 18.0.2 deployed on k8s. However same docker image works as expected in local environment. whenever i deploy to K8s i receive this error 

ERROR: Failed to start server in (production) mode
ERROR: Failed to open /opt/keycloak/lib/…/providers/customJPA.jar
ERROR: /opt/keycloak/lib/…/providers/customJPA.jar

My question is why the path for custom provider it is considering is under /opt/keycloak/lib ? I have copied all the jars in /opt/keycloak/providers folder and then build the application after copying. Is there any extra configuration I need to do hereso that right path get considered for provider

Thanks in advance.