For volumenMounts using hostPath as with:
volumeMounts:
- name: host-volume-conf
mountPath: /var/www/html/conf.core
subPath: conf.core
…
volumes:
- name: host-volume-conf
hostPath:
path: /mnt/shares/ubpolo_pepe_share/wiki-storage/
type: DirectoryOrCreate
How can I do to allow the creation of simlinks? For example , for StorageClass objects the next allows the use of simlinks:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: azurefile-csi-smb
provisioner: file.csi.azure.com
parameters:
protocol: smb
skuName: Standard_LRS
mountOptions:
- dir_mode=0777
- file_mode=0777
- serverino
- mfsymlinks # This option enables symbolic link support for SMB
But, how to do something similar with hostpath?