From 8aa2c7e83e29ac16f60666a08bcc78eb71326edf Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 20 May 2021 08:41:21 +0100 Subject: [PATCH] Added second git pv --- manifests/gitea/gitea.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/manifests/gitea/gitea.yaml b/manifests/gitea/gitea.yaml index f6e6ba7..7ecfe79 100644 --- a/manifests/gitea/gitea.yaml +++ b/manifests/gitea/gitea.yaml @@ -75,10 +75,11 @@ spec: resources: requests: memory: 400Mi - volumeMounts: - mountPath: /data name: git-data + - mountPath: /data-new + name: git-data-pv volumeClaimTemplates: - metadata: name: git-data @@ -88,6 +89,14 @@ spec: resources: requests: storage: 20Gi + - metadata: + name: git-data-pv + spec: + accessModes: [ "ReadWriteOnce" ] + storageClassName: scw-bssd-retain + resources: + requests: + storage: 8Gi --- apiVersion: extensions/v1beta1 kind: Ingress