configure nfs-provisioner

This commit is contained in:
Mans Ziesel 2024-10-25 20:15:30 +02:00
parent e6bf57743c
commit bb1bef6d49
2 changed files with 24 additions and 0 deletions

View File

@ -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

View 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