Documentation
¶
Overview ¶
Package bootstrap ensures certain RBAC resources like ClusterRoles, ClusterRoleBindings, and ServiceAccounts. If they exist, they will be modified according to spec. If not, they are created.
Package bootstrap ensures certain RBAC resources like ClusterRoles, ClusterRoleBindings, and ServiceAccounts. If they exist, they will be modified according to spec. If not, they are created.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Bootstrap ¶
type Bootstrap struct {
// contains filtered or unexported fields
}
func (Bootstrap) K8sClient ¶ added in v0.28.0
func (b Bootstrap) K8sClient() kubernetes.Interface
func (Bootstrap) Logger ¶ added in v0.28.0
func (b Bootstrap) Logger() micrologger.Logger
type Config ¶
type Config struct {
K8sClient k8sclient.Interface
Logger micrologger.Logger
// internal
CustomerAdminGroups []accessgroup.AccessGroup
GSAdminGroups []accessgroup.AccessGroup
}
Click to show internal directories.
Click to hide internal directories.