From 638fc960af41ebb1249680902d60c2e845dd9f83 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sat, 21 Feb 2026 13:20:30 +0100 Subject: [PATCH] add explicit gitea shared storage volume --- apps/gitea/gitea-shared-volume.yaml | 46 +++++++++++++++++++++++++++++ apps/gitea/kustomization.yaml | 1 + 2 files changed, 47 insertions(+) create mode 100644 apps/gitea/gitea-shared-volume.yaml diff --git a/apps/gitea/gitea-shared-volume.yaml b/apps/gitea/gitea-shared-volume.yaml new file mode 100644 index 0000000..4edb7a0 --- /dev/null +++ b/apps/gitea/gitea-shared-volume.yaml @@ -0,0 +1,46 @@ +--- +apiVersion: local.openebs.io/v1alpha1 +kind: LVMVolume +metadata: + labels: + kubernetes.io/nodename: anapistula-delrosalae + name: gitea-shared-storage-lvmhdd + namespace: openebs +spec: + capacity: 10Gi + ownerNodeID: anapistula-delrosalae + shared: "yes" + thinProvision: "no" + vgPattern: ^openebs-hdd$ + volGroup: openebs-hdd +--- +kind: PersistentVolume +apiVersion: v1 +metadata: + name: gitea-shared-storage-lvmhdd +spec: + capacity: + storage: 10Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + storageClassName: hdd-lvmpv + volumeMode: Filesystem + csi: + driver: local.csi.openebs.io + fsType: btrfs + volumeHandle: gitea-shared-storage-lvmhdd +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: gitea-shared-storage-lvmhdd + namespace: gitea +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + storageClassName: hdd-lvmpv + volumeName: gitea-shared-storage-lvmhdd diff --git a/apps/gitea/kustomization.yaml b/apps/gitea/kustomization.yaml index 584d283..ce76ca0 100644 --- a/apps/gitea/kustomization.yaml +++ b/apps/gitea/kustomization.yaml @@ -4,6 +4,7 @@ resources: - namespace.yaml - postgres-volume.yaml - postgres-cluster.yaml + - gitea-shared-volume.yaml - release.yaml - secret.yaml - backups.yaml