Hi,
I was able to mount blob container to AKS. However when pod is initialized, it is mounting with 0775 instead of 0777.
How should I change my yaml file below?
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ $tenant.org_slug }}-dev-user-files
annotations:
"pv.kubernetes.io/provisioned-by": "blob.csi.azure.com"
spec:
capacity:
storage: 1Ti
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: blob-fuse
csi:
driver: blob.csi.azure.com
nodeStageSecretRef:
name: azure-blob-secret
namespace: default
readOnly: false
volumeAttributes:
skuName: Standard_LRS
resourceGroup: dev
containerName: user-file-system
storageAccount: dev
protocol: fuse
volumeHandle: fs-dev-store-{{ add 4 $tenant_index }}
mountOptions:
- -o allow_other
- --file-cache-timeout-in-seconds=120
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: dev-user-directory
namespace: {{ $tenant.org_slug }}
spec:
accessModes:
- ReadWriteMany
volumeName: {{ $tenant.org_slug }}-dev-user-files
storageClassName: blob-fuse
resources:
requests:
storage: 100Gi