serviceaccount

package
v1.5.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: MPL-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDController

type CRDController struct {
	// contains filtered or unexported fields
}

CRDController is the controller implementation for TalosServiceAccount resources.

func NewCRDController

func NewCRDController(
	talosCA *x509.PEMEncodedCertificateAndKey,
	kubeconfig *rest.Config,
	allowedNamespaces []string,
	allowedRoles []string,
	logger *zap.Logger,
) (*CRDController, error)

NewCRDController creates a new CRD controller.

func (*CRDController) Run

func (t *CRDController) Run(ctx context.Context, workers int) error

Run starts the CRD controller.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL