Browse Source

temporarily remove photos directory

master
sseneca 2 years ago
parent
commit
0218c38084
  1. 8
      nextcloud/release.yaml
  2. 35
      nextcloud/storage-photos.yaml

8
nextcloud/release.yaml

@ -46,14 +46,6 @@ spec:
secretName: nextcloud-tls-cert
nextcloud:
host: cloud.ssene.ca
extraVolumes:
- name: photos
persistentVolumeClaim:
claimName: photos-nextcloud
readOnly: false
extraVolumeMounts:
- name: photos
mountPath: "/mnt/photos"
nginx:
enabled: true
image:

35
nextcloud/storage-photos.yaml

@ -1,35 +0,0 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: photos-nextcloud
spec:
storageClassName: local-path
capacity:
storage: 200Gi
accessModes:
- ReadWriteOnce
local:
path: /srv/smb/media/photos
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- sserver
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: photos-nextcloud
namespace: nextcloud
spec:
storageClassName: local-path
volumeName: photos-nextcloud
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 200Gi
Loading…
Cancel
Save