Remove old PV
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
46206ea637
commit
d8f0aedf50
@ -457,19 +457,6 @@ spec:
|
|||||||
- name: signing-key
|
- name: signing-key
|
||||||
mountPath: /data/keys
|
mountPath: /data/keys
|
||||||
containers:
|
containers:
|
||||||
- name: copy-media
|
|
||||||
image: "bash"
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
command:
|
|
||||||
- bash
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
sleep 9999
|
|
||||||
volumeMounts:
|
|
||||||
- name: media-store
|
|
||||||
mountPath: /data/old
|
|
||||||
- name: user-media
|
|
||||||
mountPath: /data/new
|
|
||||||
- name: "synapse"
|
- name: "synapse"
|
||||||
image: "matrixdotorg/synapse:v1.71.0"
|
image: "matrixdotorg/synapse:v1.71.0"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@ -548,9 +535,6 @@ spec:
|
|||||||
- name: signing-key
|
- name: signing-key
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: chat-matrix-signing-key
|
claimName: chat-matrix-signing-key
|
||||||
- name: media-store
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: chat-matrix-media-store
|
|
||||||
- name: user-media
|
- name: user-media
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: chat-matrix-user-media
|
claimName: chat-matrix-user-media
|
||||||
|
@ -1,45 +1,5 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
kind: PersistentVolume
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
pv.kubernetes.io/provisioned-by: csi.scaleway.com
|
|
||||||
finalizers:
|
|
||||||
- kubernetes.io/pv-protection
|
|
||||||
- external-attacher/csi-scaleway-com
|
|
||||||
name: pvc-fb3ef708-13ad-4f9b-b6b7-5e6cbb9c1bdf
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
capacity:
|
|
||||||
storage: 8Gi
|
|
||||||
csi:
|
|
||||||
driver: csi.scaleway.com
|
|
||||||
fsType: ext4
|
|
||||||
volumeAttributes:
|
|
||||||
storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com
|
|
||||||
volumeHandle: fr-par-1/eb8e5669-56ea-49e3-a631-efbeaca4c4ef
|
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
storageClassName: scw-bssd
|
|
||||||
volumeMode: Filesystem
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: chat-matrix-media-store
|
|
||||||
namespace: chat
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: "matrix"
|
|
||||||
component: synapse
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 8Gi
|
|
||||||
volumeName: pvc-fb3ef708-13ad-4f9b-b6b7-5e6cbb9c1bdf
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
pv.kubernetes.io/provisioned-by: csi.scaleway.com
|
pv.kubernetes.io/provisioned-by: csi.scaleway.com
|
||||||
|
Loading…
Reference in New Issue
Block a user