Ensure matrix PVs retain
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
7c43e6b7ce
commit
b0ca3f980e
@ -283,38 +283,6 @@ data:
|
|||||||
level: WARNING
|
level: WARNING
|
||||||
handlers: [console]
|
handlers: [console]
|
||||||
---
|
---
|
||||||
# Source: matrix/templates/synapse/media-pvc.yaml
|
|
||||||
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
|
|
||||||
---
|
|
||||||
# Source: matrix/templates/synapse/signing-key-pvc.yaml
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: chat-matrix-signing-key
|
|
||||||
namespace: chat
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: "matrix"
|
|
||||||
component: synapse
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
---
|
|
||||||
# Source: matrix/templates/riot/service.yaml
|
# Source: matrix/templates/riot/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
80
manifests/matrix_chart/pvs.yaml
Normal file
80
manifests/matrix_chart/pvs.yaml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
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:
|
||||||
|
annotations:
|
||||||
|
pv.kubernetes.io/provisioned-by: csi.scaleway.com
|
||||||
|
finalizers:
|
||||||
|
- kubernetes.io/pv-protection
|
||||||
|
- external-attacher/csi-scaleway-com
|
||||||
|
name: pvc-00a8cf81-9453-4014-aa09-9fdbcc42abf2
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
csi:
|
||||||
|
driver: csi.scaleway.com
|
||||||
|
fsType: ext4
|
||||||
|
volumeAttributes:
|
||||||
|
storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com
|
||||||
|
volumeHandle: fr-par-1/e7437eda-59e8-43f5-af49-540618f1bd95
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: scw-bssd
|
||||||
|
volumeMode: Filesystem
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: chat-matrix-signing-key
|
||||||
|
namespace: chat
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: "matrix"
|
||||||
|
component: synapse
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
volumeName: pvc-00a8cf81-9453-4014-aa09-9fdbcc42abf2
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user