manual additions restore documentation

This commit is contained in:
Kaare 2023-09-08 17:44:56 +02:00
parent 3b5e25b32a
commit 74bcf33850
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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.