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) 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"`
}
Click to show internal directories.
Click to hide internal directories.