From 5c9df3ba8926c7e95f30ac16b6ef137dd05bbbe2 Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 27 Dec 2023 18:30:10 +0100 Subject: [PATCH] apps(velero): Add backup schedule --- apps/velero/app.yaml | 1 + apps/velero/app/30_schedule.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 apps/velero/app/30_schedule.yaml diff --git a/apps/velero/app.yaml b/apps/velero/app.yaml index 93c84d6..d853bb4 100644 --- a/apps/velero/app.yaml +++ b/apps/velero/app.yaml @@ -7,3 +7,4 @@ resources: - app/00_namespace.yaml - app/10_sealedsecret.yaml - app/20_release.yaml + - app/30_schedule.yaml diff --git a/apps/velero/app/30_schedule.yaml b/apps/velero/app/30_schedule.yaml new file mode 100644 index 0000000..8d3eb6d --- /dev/null +++ b/apps/velero/app/30_schedule.yaml @@ -0,0 +1,13 @@ +apiVersion: velero.io/v1 +kind: Schedule +metadata: + name: scheduled-backup + namespace: velero +spec: + schedule: 0 */6 * * * + template: + excludedNamespaces: + - metrics + - woodpecker + - syncthing + snapshotVolumes: false