website/docs: use kubectl exec with deployment, add note for backup version

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1349
This commit is contained in:
Jens Langhammer
2021-09-05 20:25:42 +02:00
parent 0bae550520
commit b939ee7a09
4 changed files with 11 additions and 12 deletions

View File

@ -17,7 +17,7 @@ docker-compose run --rm server create_recovery_key 10 akadmin
or, for Kubernetes, run
```
kubectl exec -it authentik-web-<hash> -- ./manage.py create_recovery_key 10 akadmin
kubectl exec -it deployment/authentik-web -c authentik -- ak create_recovery_key 10 akadmin
```
This will output a link, that can be used to instantly gain access to authentik as the user specified above. The link is valid for amount of years specified above, in this case, 10 years.