diff --git a/nfs-provisioner/kustomization.yaml b/nfs-provisioner/kustomization.yaml new file mode 100644 index 0000000..1a44d15 --- /dev/null +++ b/nfs-provisioner/kustomization.yaml @@ -0,0 +1,7 @@ +namespace: nfs-provisioner +bases: + - github.com/kubernetes-sigs/nfs-subdir-external-provisioner/deploy +resources: + - namespace.yaml +patchesStrategicMerge: + - patch_nfs_details.yaml diff --git a/nfs-provisioner/namespace.yaml b/nfs-provisioner/namespace.yaml new file mode 100644 index 0000000..5c12b49 --- /dev/null +++ b/nfs-provisioner/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: nfs-provisioner diff --git a/nfs-provisioner/patch_nfs_details.yaml b/nfs-provisioner/patch_nfs_details.yaml new file mode 100644 index 0000000..6184368 --- /dev/null +++ b/nfs-provisioner/patch_nfs_details.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: nfs-client-provisioner + name: nfs-client-provisioner +spec: + template: + spec: + containers: + - name: nfs-client-provisioner + env: + - name: NFS_SERVER + value: 192.168.56.200 + - name: NFS_PATH + value: /export/Bulk + volumes: + - name: nfs-client-root + nfs: + server: 192.168.56.200 + path: /export/Bulk