c4k-nextcloud/main/resources/postgres/postgres-persistent-volume.yml

16 lines
257 B
YAML
Raw Normal View History

kind: PersistentVolume
apiVersion: v1
metadata:
name: postgres-pv-volume
labels:
type: local
app: postgresql
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
capacity:
storage: 10Gi
hostPath:
path: "/var/postgres"