From e212f6ed700ff0ad7272c554514bde15b9dbecc2 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Tue, 8 Feb 2022 11:11:24 +0100
Subject: [PATCH] Instruct to suspend helmrelease during restore

---
 docs/maintenance.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/maintenance.rst b/docs/maintenance.rst
index 9f6e7ea58..8ecbc2087 100644
--- a/docs/maintenance.rst
+++ b/docs/maintenance.rst
@@ -96,6 +96,7 @@ the following commands:
 .. code:: bash
 
    flux suspend kustomization $app
+   flux suspend helmrelease -n stackspin-apps $app
    kubectl delete service -n stackspin-apps -l stackspin.net/backupSet=$app
    kubectl delete deployment -n stackspin-apps -l stackspin.net/backupSet=$app
    kubectl delete statefulset -n stackspin-apps -l stackspin.net/backupSet=$app
@@ -103,6 +104,7 @@ the following commands:
    velero restore create arbitrary-name-of-restore-operation --from-backup=$backup -l stackspin.net/backupSet=$app
    # At this point, please first wait for the restore operation to finish, see
    # text below.
+   flux resume helmrelease -n stackspin-apps $app
    flux resume kustomization $app
 
 .. note::
-- 
GitLab