Compare languages | The cilium-hubble module: configuration

The module will be left disabled unless cni-cilium is used regardless of ciliumHubbleEnabled: parameter.

Модуль останется отключенным вне зависимости от параметра ciliumHubbleEnabled:, если не включен модуль cni-cilium.

Authentication

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

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.

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

Use kubectl to see password:

Посмотреть сгенерированный пароль можно командой:

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

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

Delete the Secret to re-generate password:

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

shell kubectl -n d8-cni-cilium delete secret/hubble-basic-auth

shell kubectl -n d8-cni-cilium delete secret/hubble-basic-auth

Note! The auth.password parameter is deprecated.

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