Hi All,
I am trying to mount my Azure fileshare as NFS cas data mounts. My data-mounts-cas.yaml file look something like this:
# General example for adding mounts to CAS workers
# PatchTransformer
apiVersion: builtin
kind: PatchTransformer
metadata:
name: data-mounts-cas
patch: |-
## Host path example - these should be mounted and available on every kubernetes worker
- op: add
path: /spec/controllerTemplate/spec/containers/0/volumeMounts/-
value:
name: wine
mountPath: "/data/wine"
- op: add
path: /spec/controllerTemplate/spec/volumes/-
value:
name: wine
hostPath:
path: /net/example.com/ifs/edm_data/Testdata/modeling/wine
## NFS path example - kubernetes will mount these for you
- op: add
path: /spec/controllerTemplate/spec/containers/0/volumeMounts/-
value:
name: insight
mountPath: "/data/inbound"
- op: add
path: /spec/controllerTemplate/spec/volumes/-
value:
name: insight
nfs:
path: /inbound
server: /domfilestorage.file.core.windows.net/inbound
target:
kind: CASDeployment
annotationSelector: sas.com/sas-access-config=true
After running a new kustomize build and applying it to my deployment I see the following errors on my sas-cas-server-default-controller pod.

would appreciate if anyone could help here?
Thanks
Sounak