From 74bcf3385054409fac4d6b8be5cbd8c5e98e527d Mon Sep 17 00:00:00 2001 From: Kaare Date: Fri, 8 Sep 2023 17:44:56 +0200 Subject: [PATCH] manual additions restore documentation --- restore/README.md | 2 ++ tips/https-redirection.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/restore/README.md b/restore/README.md index 629706f..96ff24c 100644 --- a/restore/README.md +++ b/restore/README.md @@ -20,6 +20,8 @@ To perform restoration, you need to have AWX Operator running on Kubernetes. If It is strongly recommended that the version of AWX Operator is the same as the version when the backup was taken. This is because the structure of the backup files differs between versions and may not be compatible. If you have upgraded AWX Operator after taking the backup, it is recommended to downgrade AWX Operator first before performing the restore. To deploy `0.13.0` or earlier version of AWX Operator, refer [📝Tips: Deploy older version of AWX Operator](../tips/deploy-older-operator.md) +Some manual additions, such as [the https redirection](../tips/https-redirection.md) or [similar tips](../tips/README.md) will not be restored automatically, and will have to be reapplied after restoring. AWX may not be fully functional depending on the missing manual additions after restoring. + ### Prepare for Restore If your AWX instance is running, it is recommended that it be deleted along with PVC and PV for the PostgreSQL first, in order to restore to be succeeded. diff --git a/tips/https-redirection.md b/tips/https-redirection.md index 14299c6..cf67fdd 100644 --- a/tips/https-redirection.md +++ b/tips/https-redirection.md @@ -8,6 +8,7 @@ Traefik, the default Ingress controller for K3s, listens for access over both HT - [Procedure](#procedure) - [Prepare Traefik](#prepare-traefik) + - [Restoring using Redirect HTTP to HTTPS](#restoring-using-redirect-http-to-https) - [Patch your AWX to enable HTTPS redirection](#patch-your-awx-to-enable-https-redirection) - [Patch your AWX using Kustomize](#patch-your-awx-using-kustomize) - [Patch your AWX manually](#patch-your-awx-manually) @@ -39,6 +40,9 @@ kubectl -n default apply -f middleware.yaml kubectl -n default get middleware ``` +#### Restoring using Redirect HTTP to HTTPS +When deploying the middleware, it will not be part of the [restore instructions in the restore guide](../restore/README.md). Traefik will assume the middleware is present when the restore is complete, but you will have to reapply the scheme in the `default` namespace if it is not already present, e.g. after restoring to a fresh node. + ### Patch your AWX to enable HTTPS redirection To enable redirection, the Ingress resource must have the following annotation.