From 1d5d096ffcb5ba40707b25b172a14987a24bf25a Mon Sep 17 00:00:00 2001 From: rickra Date: Thu, 15 Aug 2024 14:56:52 +0200 Subject: [PATCH] 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 * fix container name everywhere Signed-off-by: Jens Langhammer --------- Signed-off-by: rickra Signed-off-by: Jens Langhammer Co-authored-by: Jens Langhammer --- website/docs/troubleshooting/emails.md | 2 +- website/docs/troubleshooting/ldap_source.md | 4 ++-- website/docs/troubleshooting/login.md | 2 +- website/docs/troubleshooting/missing_admin_group.md | 2 +- website/docs/troubleshooting/missing_permission.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/docs/troubleshooting/emails.md b/website/docs/troubleshooting/emails.md index 6a6dd9146c..d686035720 100644 --- a/website/docs/troubleshooting/emails.md +++ b/website/docs/troubleshooting/emails.md @@ -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 [...] ``` diff --git a/website/docs/troubleshooting/ldap_source.md b/website/docs/troubleshooting/ldap_source.md index 9b322cc45c..a96103ff8e 100644 --- a/website/docs/troubleshooting/ldap_source.md +++ b/website/docs/troubleshooting/ldap_source.md @@ -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* ``` diff --git a/website/docs/troubleshooting/login.md b/website/docs/troubleshooting/login.md index 49b40371c5..90a243b8ea 100644 --- a/website/docs/troubleshooting/login.md +++ b/website/docs/troubleshooting/login.md @@ -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 diff --git a/website/docs/troubleshooting/missing_admin_group.md b/website/docs/troubleshooting/missing_admin_group.md index 7fe015ba19..0c7897dcc0 100644 --- a/website/docs/troubleshooting/missing_admin_group.md +++ b/website/docs/troubleshooting/missing_admin_group.md @@ -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 ``` diff --git a/website/docs/troubleshooting/missing_permission.md b/website/docs/troubleshooting/missing_permission.md index d9c0ad5878..58b4e694d6 100644 --- a/website/docs/troubleshooting/missing_permission.md +++ b/website/docs/troubleshooting/missing_permission.md @@ -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/)