I deployed a nodejs microservice to a gke autopilot cluster.
i have all dependencies I need for CSFLE in the package.json and dockerfile.
when I try it locally the encryption works but i have a hard coded path to the binary and I had to activate the mongocryptd for it to work.
i read online that if all dependencies installed I can use cryptSharedLibRequired: true and it should work but i still get error:
error: Error connecting to DB: MongoMissingDependencyError: Auto-encryption requested, but the module is not installed. Please add mongodb-client-encryption
as a dependency of your project
can someone guide me maybe im doing something wrong?