I'm new with Azure infrastructure and I'm trying to deploy Jenkins on AKS and be able to preserve all of my Jenkins data if the container stopped working and I run with a permissions issue for my newly created PVC.
I want to change the permissions for a specific folder and files in the PVC and the "chmod" command looks like running but doesn't do anything and the permissions are still set to 777 instead of my wanted permissions.
I have noticed that the Storage Class default permissions value for dirs and files are 777 but I need some specific files to be with other permissions.
Can I do this or there is any other option to do this?