diff --git a/examples/kubernetes/nfs-provisioner/nfs-server-lb.yaml b/examples/kubernetes/nfs-provisioner/nfs-server-lb.yaml index 4ccd14f04..9bc968c16 100644 --- a/examples/kubernetes/nfs-provisioner/nfs-server-lb.yaml +++ b/examples/kubernetes/nfs-provisioner/nfs-server-lb.yaml @@ -37,6 +37,7 @@ spec: - mountPath: /nfsshare name: data-volume volumes: - name: data-volume - hostPath: /nfsshare-volume - type: DirectoryOrCreate \ No newline at end of file + - name: data-volume + hostPath: + path: /exports + type: DirectoryOrCreate \ No newline at end of file diff --git a/examples/kubernetes/nfs-provisioner/nfs-server.yaml b/examples/kubernetes/nfs-provisioner/nfs-server.yaml index 8ed8dbc4d..e9c89e0dd 100644 --- a/examples/kubernetes/nfs-provisioner/nfs-server.yaml +++ b/examples/kubernetes/nfs-provisioner/nfs-server.yaml @@ -37,6 +37,7 @@ spec: - mountPath: /nfsshare name: data-volume volumes: - name: data-volume - hostPath: /nfsshare-volume - type: DirectoryOrCreate \ No newline at end of file + - name: data-volume + hostPath: + path: /exports + type: DirectoryOrCreate \ No newline at end of file