Authentication | Аутентификация |
user-authn module provides authentication by default. You can also configure authentication using the externalAuthentication parameter. If these options are disabled, the module will use basic auth with the auto-generated password. | По умолчанию используется модуль user-authn. Также можно настроить аутентификацию с помощью параметра externalAuthentication. Если эти варианты отключены, модуль включит базовую аутентификацию со сгенерированным паролем. |
To view the generated password, run the command: | Чтобы просмотреть сгенерированный пароль, выполните команду: |
shell kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse – deckhouse-controller module values openvpn -o json | jq ‘.openvpn.internal.auth.password’ | shell kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse – deckhouse-controller module values openvpn -o json | jq ‘.openvpn.internal.auth.password’ |
To generate a new password, delete the Secret: | Чтобы сгенерировать новый пароль, удалите ресурс Secret: |
shell kubectl -n d8-openvpn delete secret/basic-auth | shell kubectl -n d8-openvpn delete secret/basic-auth |
The | Параметр |