Compare commits
No commits in common. "5c8910d41661666db14e6a578891bfd6b2c48056" and "d804d64465e56d7bf716117eb5acbdc161353a1d" have entirely different histories.
5c8910d416
...
d804d64465
3 changed files with 15 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
apiVersion: k8up.io/v1
|
||||
kind: Schedule
|
||||
kind: Backup
|
||||
metadata:
|
||||
name: backup-blog
|
||||
spec:
|
||||
|
@ -16,13 +16,5 @@ spec:
|
|||
secretAccessKeySecretRef:
|
||||
key: secretkey
|
||||
name: backup-credentials
|
||||
backup:
|
||||
schedule: '3 5 * * *'
|
||||
failedJobsHistoryLimit: 2
|
||||
successfulJobsHistoryLimit: 2
|
||||
promURL: ""
|
||||
prune:
|
||||
schedule: '0 1 * * 0'
|
||||
retention:
|
||||
keepLast: 5
|
||||
keepDaily: 14
|
12
apps-kustomized/blog/mysql.yaml
Normal file
12
apps-kustomized/blog/mysql.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: mysql.oracle.com/v2
|
||||
kind: InnoDBCluster
|
||||
metadata:
|
||||
name: writefreelydb
|
||||
spec:
|
||||
secretName: blogdbrootpass
|
||||
tlsUseSelfSigned: true
|
||||
instances: 1
|
||||
router:
|
||||
instances: 0
|
||||
podAnnotations:
|
||||
k8up.io/backupcommand: mysqldump --all-databases=true -u writefreely -p$MARIADB_PASSWORD
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: blog-backup
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: blog
|
||||
server: https://kubernetes.default.svc
|
||||
project: apps
|
||||
source:
|
||||
path: apps-kustomized/blog-backup
|
||||
repoURL: https://git.martyn.berlin/martyn/infra4talos
|
||||
targetRevision: HEAD
|
Loading…
Add table
Reference in a new issue