Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BootstrapUser is the magic bootstrap OAuth user that can perform any action
BootstrapUser = "kube:admin"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(getter BootstrapUserDataGetter) authenticator.Password
Types ¶
type BootstrapUserData ¶
type BootstrapUserDataGetter ¶
type BootstrapUserDataGetter interface { Get() (data *BootstrapUserData, ok bool, err error) IsEnabled() (bool, error) }
func NewBootstrapUserDataGetter ¶
func NewBootstrapUserDataGetter(secrets v1.SecretsGetter, namespaces v1.NamespacesGetter) BootstrapUserDataGetter
Click to show internal directories.
Click to hide internal directories.