From 049f193de9c08a757b2b35242d9ba632a9f09a35 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Wed, 10 Jun 2020 12:27:37 +0200
Subject: [PATCH] Specify backup ttl in hours

---
 ansible/roles/apps/templates/settings/velero.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/apps/templates/settings/velero.yaml b/ansible/roles/apps/templates/settings/velero.yaml
index 3f6fe8df0..1b227bbcc 100644
--- a/ansible/roles/apps/templates/settings/velero.yaml
+++ b/ansible/roles/apps/templates/settings/velero.yaml
@@ -104,8 +104,8 @@ schedules:
     # Every night at 3:30.
     schedule: "30 3 * * *"
     template:
-      # Backups are stored for 60 days.
-      ttl: "60d"
+      # Backups are stored for 60 days (1440 hours).
+      ttl: "1440h"
       includedNamespaces:
       # We include all namespaces.
       - '*'
-- 
GitLab