Add books and tv shares (tv commented so I don't kill all the data - no one else cares about books)
This commit is contained in:
@@ -3,4 +3,5 @@ kind: Kustomization
|
||||
resources:
|
||||
- helmrelease.yaml
|
||||
- helmrepo.yaml
|
||||
- helmrepo.yaml
|
||||
- helmrepo.yaml
|
||||
- ./tower-shares
|
||||
38
clusters/kairos/samba-csi/tower-shares/books.yml
Normal file
38
clusters/kairos/samba-csi/tower-shares/books.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
annotations:
|
||||
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
|
||||
name: pv-smb-tower-books
|
||||
spec:
|
||||
capacity:
|
||||
storage: 48Ti
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: smb
|
||||
mountOptions:
|
||||
- dir_mode=0777
|
||||
- file_mode=0777
|
||||
csi:
|
||||
driver: smb.csi.k8s.io
|
||||
# make sure this value is unique for every share in the cluster
|
||||
volumeHandle: tower/books
|
||||
volumeAttributes:
|
||||
source: //192.168.1.100/books
|
||||
nodeStageSecretRef:
|
||||
name: smbcreds
|
||||
namespace: kube-system
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: pvc-smb-tower-books
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 48Ti
|
||||
volumeName: pv-smb-tower-books
|
||||
storageClassName: smb
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: apps
|
||||
resources:
|
||||
- books.yaml
|
||||
# - tv.yaml
|
||||
38
clusters/kairos/samba-csi/tower-shares/tv.yml
Normal file
38
clusters/kairos/samba-csi/tower-shares/tv.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
annotations:
|
||||
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
|
||||
name: pv-smb-tower-tv
|
||||
spec:
|
||||
capacity:
|
||||
storage: 48Ti
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: smb
|
||||
mountOptions:
|
||||
- dir_mode=0777
|
||||
- file_mode=0777
|
||||
csi:
|
||||
driver: smb.csi.k8s.io
|
||||
# make sure this value is unique for every share in the cluster
|
||||
volumeHandle: tower/tv
|
||||
volumeAttributes:
|
||||
source: //192.168.1.100/tv
|
||||
nodeStageSecretRef:
|
||||
name: smbcreds
|
||||
namespace: kube-system
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: pvc-smb-tower-tv
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 48Ti
|
||||
volumeName: pv-smb-tower-tv
|
||||
storageClassName: smb
|
||||
Reference in New Issue
Block a user