Jafner.net/homelab/local-hosts/silver-flame/manifests/smb/smb.yaml
Joey Hafner bbe52da9bb
#10 Reorganize Nix code
- Flake to build personal systems moved to `dotfiles/`
- Flake to build silver-flame cluster moved to `homelab/local-hosts/silver-flame
- Delete undercooked "digitalocean" and "iso" image builds
2024-10-28 18:04:04 -07:00

41 lines
802 B
YAML

---
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: pv-smb-clusterdata
spec:
capacity:
storage: 100Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: smb
mountOptions:
- dir_mode=0777
- file_mode=0777
csi:
driver: smb.csi.k8s.io
volumeHandle: 192.168.1.12##ClusterData
volumeAttributes:
source: //192.168.1.12/ClusterData
nodeStageSecretRef:
name: smbcreds
namespace: default
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-smb-clusterdata
namespace: default
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi
volumeName: pv-smb-clusterdata
storageClassName: smb