controller

package
v0.0.0-...-d3b6e4b Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxPendingCSRs uint32
View Source
var PendingCSRs uint32

Functions

This section is empty.

Types

type CertificateApprover

type CertificateApprover struct {
	NodeClient  client.Client
	NodeRestCfg *rest.Config

	MachineClient    client.Client
	MachineRestCfg   *rest.Config
	MachineNamespace string

	Config           ClusterMachineApproverConfig
	APIGroupVersions []schema.GroupVersion
}

MachineApproverReconciler reconciles a machine-approver object

func (*CertificateApprover) Reconcile

func (*CertificateApprover) SetupWithManager

func (m *CertificateApprover) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

type ClusterMachineApproverConfig

type ClusterMachineApproverConfig struct {
	NodeClientCert NodeClientCert `json:"nodeClientCert,omitempty"`
}

func LoadConfig

func LoadConfig(cliConfig string) ClusterMachineApproverConfig

type NodeClientCert

type NodeClientCert struct {
	Disabled bool `json:"disabled,omitempty"`
}

Jump to

Keyboard shortcuts

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