From 0218c38084cff06169e20bfdd2d42473dfc15bea Mon Sep 17 00:00:00 2001 From: sseneca Date: Fri, 12 Mar 2021 11:07:43 +0000 Subject: [PATCH] temporarily remove photos directory --- nextcloud/release.yaml | 8 -------- nextcloud/storage-photos.yaml | 35 ----------------------------------- 2 files changed, 43 deletions(-) delete mode 100644 nextcloud/storage-photos.yaml diff --git a/nextcloud/release.yaml b/nextcloud/release.yaml index bcd587d..bcc9787 100644 --- a/nextcloud/release.yaml +++ b/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: diff --git a/nextcloud/storage-photos.yaml b/nextcloud/storage-photos.yaml deleted file mode 100644 index f4d7e6b..0000000 --- a/nextcloud/storage-photos.yaml +++ /dev/null @@ -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