Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAgentCSR ¶
ValidateAgentCSR used to determine if the CSR is a valid agent's CSR.
Types ¶
type AgentCSRApprovingController ¶
type AgentCSRApprovingController struct {
Client kubernetes.Interface
}
AgentCSRApprovingController is used to automatically approve the agent's CSR.
func (*AgentCSRApprovingController) Reconcile ¶
func (a *AgentCSRApprovingController) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*AgentCSRApprovingController) SetupWithManager ¶
func (a *AgentCSRApprovingController) SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager creates a controller and registers to controller manager.
Click to show internal directories.
Click to hide internal directories.