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

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

If the cni-cilium module is disabled, the ciliumHubbleEnabled: parameter will not affect the enabling of the cilium-hubble module.

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

Authentication

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

user-authn module provides authentication by default. Also, externalAuthentication can be configured. If these options are disabled, the module will use basic auth with the auto-generated password.

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

To view the generated password, run the command:

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

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

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

To generate a new password, delete the Secret:

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

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

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

The auth.password parameter is deprecated.