У модуля нет обязательных настроек. | The module does not have any mandatory parameters. |
Аутентификация | Authentication |
По умолчанию используется модуль user-authn. Также можно настроить аутентификацию через | user-authn module provides authentication by default. Also, externalAuthentication can be configured (see below). If these options are disabled, the module will use basic auth with the auto-generated password. |
Посмотреть сгенерированный пароль можно командой: | Use kubectl to see password: |
shell kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse – deckhouse-controller module values documentation -o json | jq ‘.internal.auth.password’ | shell kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse – deckhouse-controller module values documentation -o json | jq ‘.internal.auth.password’ |
Чтобы сгенерировать новый пароль, нужно удалить Secret: | Delete the Secret to re-generate password: |
shell kubectl -n d8-system delete secret/documentation-basic-auth | shell kubectl -n d8-system delete secret/documentation-basic-auth |
|
|