Compare languages | Модуль dashboard: настройки

У модуля нет обязательных настроек.

The module does not have any mandatory parameters.

Аутентификация

Authentication

По умолчанию используется модуль user-authn. Также можно настроить аутентификацию через externalAuthentication (см. ниже). Если эти варианты отключены, то модуль включит basic auth со сгенерированным паролем.

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 deploy/deckhouse – deckhouse-controller module values dashboard -o json | jq ‘.dashboard.internal.auth.password’

shell kubectl -n d8-system exec deploy/deckhouse – deckhouse-controller module values dashboard -o json | jq ‘.dashboard.internal.auth.password’

Чтобы сгенерировать новый пароль, нужно удалить секрет:

Delete secret to re-generate password:

shell kubectl -n d8-dashboard delete secret/basic-auth

shell kubectl -n d8-dashboard delete secret/basic-auth

Внимание! Параметр auth.password больше не поддерживается.

Note! The auth.password parameter is deprecated.