website/docs: use default container name from helm chart in recovery documentation for kubernetes (#10919)

* use default container name from helm chart

the default name for the worker container is worker and not authentik.
see https://github.com/goauthentik/helm/blob/main/charts/authentik/values.yaml#L603

Signed-off-by: rickra <richardkraus98@pm.me>

* fix container name everywhere

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: rickra <richardkraus98@pm.me>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
rickra
2024-08-15 14:56:52 +02:00
committed by GitHub
parent 0754d9c3d4
commit 1d5d096ffc
5 changed files with 6 additions and 6 deletions

View File

@ -23,5 +23,5 @@ docker compose exec worker ak test_email [...]
To run this command with Kubernetes, use
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak test_email [...]
kubectl exec -it deployment/authentik-worker -c worker -- ak test_email [...]
```

View File

@ -11,7 +11,7 @@ docker compose run --rm worker ldap_sync *slug of the source*
or, for Kubernetes, run
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak ldap_sync *slug of the source*
kubectl exec -it deployment/authentik-worker -c worker -- ak ldap_sync *slug of the source*
```
Starting with authentik 2023.10, you can also run command below to explicitly check the connectivity to the configured LDAP Servers:
@ -23,5 +23,5 @@ docker compose run --rm worker ldap_check_connection *slug of the source*
or, for Kubernetes, run
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak ldap_check_connection *slug of the source*
kubectl exec -it deployment/authentik-worker -c worker -- ak ldap_check_connection *slug of the source*
```

View File

@ -17,7 +17,7 @@ docker compose run --rm server create_recovery_key 10 akadmin
For Kubernetes, run
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak create_recovery_key 10 akadmin
kubectl exec -it deployment/authentik-worker -c worker -- ak create_recovery_key 10 akadmin
```
or, for CLI, run

View File

@ -13,5 +13,5 @@ docker compose run --rm server create_admin_group username
or, for Kubernetes, run
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak create_admin_group username
kubectl exec -it deployment/authentik-worker -c worker -- ak create_admin_group username
```

View File

@ -15,7 +15,7 @@ docker compose run --rm worker repair_permissions
or, for Kubernetes, run
```shell
kubectl exec -it deployment/authentik-worker -c authentik -- ak repair_permissions
kubectl exec -it deployment/authentik-worker -c worker -- ak repair_permissions
```
If the error persists after running this command, please open an Issue on [GitHub](https://github.com/goauthentik/authentik/issues/)