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

Types

type BootstrapUserData

type BootstrapUserData struct {
	PasswordHash []byte
	UID          string
}

type BootstrapUserDataGetter

type BootstrapUserDataGetter interface {
	Get() (data *BootstrapUserData, ok bool, err error)
}

func NewBootstrapUserDataGetter

func NewBootstrapUserDataGetter(secrets v1.SecretsGetter, namespaces v1.NamespacesGetter) BootstrapUserDataGetter

Source Files