controller

package
v0.0.0-...-b485fc4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 39 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 {
	WorkloadClient client.Client
	NodeRestCfg    *rest.Config

	ManagementClient 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