Hi there, I am Ivan and I am new too Magento and have a puzzling issue, we have mounted an S3 bucket to our Kubernetes pod at /data using fuse. We have managed to set Magento to save new product images to a folder in the bucket, but not managed to get the cache folder to update. Also if we change the DirectoryFile.php after installing and run php bin/magento setup:di:compile then we get the following error:
Path "/data/test/media/theme_customization/1/etc/view.xml" cannot be used with directory "/var/www/html/"
Thanks in advance for the asssitance