26 lines
790 B
YAML
26 lines
790 B
YAML
|
|
# NFS PersistentVolume for shower app media uploads (prize photos).
|
||
|
|
# Requires: NFS share on sifaka at /volume1/shower with NFS permissions
|
||
|
|
# for ringtail.
|
||
|
|
#
|
||
|
|
# To create on Synology:
|
||
|
|
# 1. Control Panel > Shared Folder > Create
|
||
|
|
# 2. Name: shower, Location: Volume 1
|
||
|
|
# 3. Control Panel > File Services > NFS > NFS Rules
|
||
|
|
# 4. Add rule for "shower" share: Hostname=ringtail, Privilege=Read/Write,
|
||
|
|
# Squash=No mapping
|
||
|
|
# 5. chown -R 1000:1000 /volume1/shower (or pick another UID and align the
|
||
|
|
# container's runAsUser to match)
|
||
|
|
apiVersion: v1
|
||
|
|
kind: PersistentVolume
|
||
|
|
metadata:
|
||
|
|
name: shower-media-nfs-pv
|
||
|
|
spec:
|
||
|
|
capacity:
|
||
|
|
storage: 10Gi
|
||
|
|
accessModes:
|
||
|
|
- ReadWriteMany
|
||
|
|
persistentVolumeReclaimPolicy: Retain
|
||
|
|
storageClassName: ""
|
||
|
|
nfs:
|
||
|
|
server: sifaka
|
||
|
|
path: /volume1/shower
|