Documentation ¶
Index ¶
- func KarpenterDeployment(namespace string) *appsv1.Deployment
- func KarpenterRole(controlPlaneNamespace string) *rbacv1.Role
- func KarpenterRoleBinding(controlPlaneNamespace string) *rbacv1.RoleBinding
- func KarpenterServiceAccount(controlPlaneNamespace string) *corev1.ServiceAccount
- func ReconcileKarpenterDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, ...) error
- func ReconcileKarpenterRole(role *rbacv1.Role, owner config.OwnerRef) error
- func ReconcileKarpenterRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, ...) error
- type MachineApproverController
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KarpenterDeployment ¶
func KarpenterDeployment(namespace string) *appsv1.Deployment
func KarpenterRole ¶
func KarpenterRoleBinding ¶
func KarpenterRoleBinding(controlPlaneNamespace string) *rbacv1.RoleBinding
func KarpenterServiceAccount ¶
func KarpenterServiceAccount(controlPlaneNamespace string) *corev1.ServiceAccount
func ReconcileKarpenterDeployment ¶
func ReconcileKarpenterDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, sa *corev1.ServiceAccount, kubeConfigSecret *corev1.Secret, availabilityProberImage, tokenMinterImage string, credentialsSecret *corev1.Secret, setDefaultSecurityContext bool, ownerRef config.OwnerRef) error
func ReconcileKarpenterRole ¶
func ReconcileKarpenterRoleBinding ¶
func ReconcileKarpenterRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, owner config.OwnerRef) error
Types ¶
type MachineApproverController ¶
type MachineApproverController struct {
// contains filtered or unexported fields
}
func (*MachineApproverController) SetupWithManager ¶
func (r *MachineApproverController) SetupWithManager(mgr ctrl.Manager) error
type Reconciler ¶
type Reconciler struct { ManagementClient client.Client GuestClient client.Client Namespace string ControlPlaneOperatorImage string upsert.CreateOrUpdateProvider }
func (*Reconciler) SetupWithManager ¶
Click to show internal directories.
Click to hide internal directories.