diff --git a/nfs-subdir-external-provisioner/kustomization.yaml b/nfs-subdir-external-provisioner/kustomization.yaml index 59c9dce..f1b05d9 100644 --- a/nfs-subdir-external-provisioner/kustomization.yaml +++ b/nfs-subdir-external-provisioner/kustomization.yaml @@ -6,3 +6,6 @@ namespace: nfs-provisioner resources: - ./base/nfs-provisioner-namespace.yaml - github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17 + +patchesStrategicMerge: + - patch_nfs_details.yaml diff --git a/nfs-subdir-external-provisioner/patch_nfs_details.yaml b/nfs-subdir-external-provisioner/patch_nfs_details.yaml new file mode 100644 index 0000000..7747128 --- /dev/null +++ b/nfs-subdir-external-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.10.30 + - name: NFS_PATH + value: /srv/nfs4 + volumes: + - name: nfs-client-root + nfs: + server: 192.168.10.30 + path: /srv/nfs4