You will need to create a Custom Resource Transformation on thar particular case (e.g. the AzureFile). You can read more on how to achieve it here https://github.com/kubernetes-sigs/kustomize/blob/master/examples/transformerconfigs/crd/README.md
Anyway it seems the Azure File is deprecated https://kubernetes.io/docs/concepts/storage/volumes/#azurefile