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:
|
||||
- name: gitea-persistent-storage
|
||||
mountPath: /data
|
||||
- name: gitea-storage-nfs
|
||||
mountPath: /data.new
|
||||
volumes:
|
||||
- name: gitea-persistent-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea-pvc
|
||||
- name: gitea-storage-nfs
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea-storage-nfs
|
||||
@ -17,6 +17,7 @@ resources:
|
||||
- postgres-pvc.yaml
|
||||
- gitea-pv.yaml
|
||||
- gitea-pvc.yaml
|
||||
- 0x-storage.yaml
|
||||
- configuration.yaml
|
||||
- postgres-deployment.yaml
|
||||
- postgres-service.yaml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user