mirror of
https://github.com/thejimnicholson/gitea.git
synced 2025-12-06 03:30:42 +00:00
Begin migration to new storage
This commit is contained in:
parent
75f624f583
commit
1a9da0a9c5
13
0x-storage.yaml
Normal file
13
0x-storage.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: gitea-storage-nfs
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
storageClassName: nfs-client
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
@ -44,7 +44,12 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: gitea-persistent-storage
|
- name: gitea-persistent-storage
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
- name: gitea-storage-nfs
|
||||||
|
mountPath: /data.new
|
||||||
volumes:
|
volumes:
|
||||||
- name: gitea-persistent-storage
|
- name: gitea-persistent-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: gitea-pvc
|
claimName: gitea-pvc
|
||||||
|
- name: gitea-storage-nfs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: gitea-storage-nfs
|
||||||
@ -17,6 +17,7 @@ resources:
|
|||||||
- postgres-pvc.yaml
|
- postgres-pvc.yaml
|
||||||
- gitea-pv.yaml
|
- gitea-pv.yaml
|
||||||
- gitea-pvc.yaml
|
- gitea-pvc.yaml
|
||||||
|
- 0x-storage.yaml
|
||||||
- configuration.yaml
|
- configuration.yaml
|
||||||
- postgres-deployment.yaml
|
- postgres-deployment.yaml
|
||||||
- postgres-service.yaml
|
- postgres-service.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user