configure nfs-provisioner
This commit is contained in:
parent
e6bf57743c
commit
bb1bef6d49
@ -6,3 +6,6 @@ namespace: nfs-provisioner
|
|||||||
resources:
|
resources:
|
||||||
- ./base/nfs-provisioner-namespace.yaml
|
- ./base/nfs-provisioner-namespace.yaml
|
||||||
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17
|
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17
|
||||||
|
|
||||||
|
patchesStrategicMerge:
|
||||||
|
- patch_nfs_details.yaml
|
||||||
|
21
nfs-subdir-external-provisioner/patch_nfs_details.yaml
Normal file
21
nfs-subdir-external-provisioner/patch_nfs_details.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user