Documentation ¶
Overview ¶
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCSRApprovingController ¶
func NewCSRApprovingController[T CSR]( csrInformer cache.SharedIndexInformer, lister CSRLister[T], approver CSRApprover[T], reconcilers []Reconciler, recorder events.Recorder) factory.Controller
NewCSRApprovingController creates a new csr approving controller
Types ¶
type CSR ¶ added in v0.11.0
type CSR interface { *certificatesv1.CertificateSigningRequest | *certificatesv1beta1.CertificateSigningRequest }
type CSRApprover ¶ added in v0.11.0
type CSRApprover[T CSR] interface { // contains filtered or unexported methods }
type CSRV1Approver ¶ added in v0.11.0
type CSRV1Approver struct {
// contains filtered or unexported fields
}
CSRV1Approver implement CSRApprover interface
func NewCSRV1Approver ¶ added in v0.11.0
func NewCSRV1Approver(client kubernetes.Interface) *CSRV1Approver
type CSRV1beta1Approver ¶ added in v0.11.0
type CSRV1beta1Approver struct {
// contains filtered or unexported fields
}
func NewCSRV1beta1Approver ¶ added in v0.11.0
func NewCSRV1beta1Approver(client kubernetes.Interface) *CSRV1beta1Approver
type Reconciler ¶ added in v0.11.0
type Reconciler interface {
Reconcile(context.Context, csrInfo, approveCSRFunc) (reconcileState, error)
}
func NewCSRBootstrapReconciler ¶ added in v0.11.0
func NewCSRBootstrapReconciler(kubeClient kubernetes.Interface, clusterClient clusterclientset.Interface, clusterLister clusterv1listers.ManagedClusterLister, approvalUsers []string, recorder events.Recorder) Reconciler
func NewCSRRenewalReconciler ¶ added in v0.11.0
func NewCSRRenewalReconciler(kubeClient kubernetes.Interface, recorder events.Recorder) Reconciler
Click to show internal directories.
Click to hide internal directories.