feat(nfs): Add NFS configurations for NAS

This commit is contained in:
Tanguy Herbron 2023-11-14 00:39:08 +01:00
parent 415b9ed485
commit 0a1ff45224
3 changed files with 32 additions and 0 deletions

View File

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

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: nfs-provisioner

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.56.200
- name: NFS_PATH
value: /export/Bulk
volumes:
- name: nfs-client-root
nfs:
server: 192.168.56.200
path: /export/Bulk