mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
add(gitea): db backup
This commit is contained in:
parent
d14a0b7fcf
commit
4395a91bc3
1 changed files with 11 additions and 0 deletions
|
@ -55,3 +55,14 @@ spec:
|
||||||
password:
|
password:
|
||||||
name: postgres
|
name: postgres
|
||||||
key: postgresql-password
|
key: postgresql-password
|
||||||
|
---
|
||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: ScheduledBackup
|
||||||
|
metadata:
|
||||||
|
name: gitea-db-backup
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
schedule: "0 0 0 * * *"
|
||||||
|
backupOwnerReference: self
|
||||||
|
cluster:
|
||||||
|
name: gitea-db
|
||||||
|
|
Loading…
Reference in a new issue