gitea: add pvcs

This commit is contained in:
xeruf 2022-07-04 11:18:51 +01:00
parent ca9a3611ce
commit f1504948d0
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea
namespace: stackspout
labels:
stackspin.net/backupSet: "gitea"
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storageClassName: local-path

View File

@ -0,0 +1,16 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-postgres
namespace: stackspout
labels:
stackspin.net/backupSet: "gitea"
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storageClassName: local-path

View File

@ -30,3 +30,10 @@ data:
config:
server:
ROOT_URL: "https://dev.${domain}"
persistence:
enabled: true
existingClaim: gitea-data
postgresql:
persistence:
enabled: true
existingClaim: gitea-postgres

View File

@ -4,3 +4,4 @@ resources:
- gitea-release.yaml
- gitea-oauth-client.yaml
- gitea-values-configmap.yaml
- pvc.yaml