gitea: add pvcs
This commit is contained in:
parent
ca9a3611ce
commit
f1504948d0
|
@ -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
|
|
@ -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
|
|
@ -30,3 +30,10 @@ data:
|
||||||
config:
|
config:
|
||||||
server:
|
server:
|
||||||
ROOT_URL: "https://dev.${domain}"
|
ROOT_URL: "https://dev.${domain}"
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: gitea-data
|
||||||
|
postgresql:
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: gitea-postgres
|
||||||
|
|
|
@ -4,3 +4,4 @@ resources:
|
||||||
- gitea-release.yaml
|
- gitea-release.yaml
|
||||||
- gitea-oauth-client.yaml
|
- gitea-oauth-client.yaml
|
||||||
- gitea-values-configmap.yaml
|
- gitea-values-configmap.yaml
|
||||||
|
- pvc.yaml
|
||||||
|
|
Loading…
Reference in New Issue