k8s/helm/forgejo/pv.yaml

39 lines
1.1 KiB
YAML
Raw Normal View History

2024-12-10 03:23:13 +00:00
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
longhorn.io/volume-scheduling-error: ""
pv.kubernetes.io/provisioned-by: driver.longhorn.io
volume.kubernetes.io/provisioner-deletion-secret-name: longhorn-encryption
volume.kubernetes.io/provisioner-deletion-secret-namespace: longhorn-system
name: pvc-04e95cac-441e-4cd8-afbb-670ab8ba4c4d
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 20Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: data-gitea-0
namespace: gitea
csi:
driver: driver.longhorn.io
fsType: ext4
nodePublishSecretRef:
name: longhorn-encryption
namespace: longhorn-system
nodeStageSecretRef:
name: longhorn-encryption
namespace: longhorn-system
volumeAttributes:
encrypted: "true"
fromBackup: ""
fsType: ext4
numberOfReplicas: "3"
staleReplicaTimeout: "120"
volumeHandle: pvc-04e95cac-441e-4cd8-afbb-670ab8ba4c4d
persistentVolumeReclaimPolicy: Retain
storageClassName: longhorn-encrypted-retain
volumeMode: Filesystem