cluster.fun/manifests/nextcloud_chart/pvs.yaml
Marcus Noble ccc49c6855
Ensure PVs are retained
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-04-12 11:14:48 +01:00

44 lines
1.1 KiB
YAML

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-db95ada8-d8e4-400a-acea-7d594ecffa36
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
csi:
driver: csi.scaleway.com
fsType: ext4
volumeAttributes:
storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com
volumeHandle: fr-par-1/5c16182d-f742-4ae5-a70c-386aa356f906
persistentVolumeReclaimPolicy: Retain
storageClassName: scw-bssd-retain
volumeMode: Filesystem
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: nextcloud-nextcloud-nextcloud
labels:
app.kubernetes.io/name: nextcloud
helm.sh/chart: nextcloud-2.6.3
app.kubernetes.io/instance: nextcloud-nextcloud
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/component: app
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "5Gi"
storageClassName: "scw-bssd-retain"
volumeName: pvc-db95ada8-d8e4-400a-acea-7d594ecffa36
---