Documentation ¶
Index ¶
- func KarpenterOperatorDeployment(namespace string) *appsv1.Deployment
- func KarpenterOperatorRole(controlPlaneNamespace string) *rbacv1.Role
- func KarpenterOperatorRoleBinding(controlPlaneNamespace string) *rbacv1.RoleBinding
- func KarpenterOperatorServiceAccount(controlPlaneNamespace string) *corev1.ServiceAccount
- func ReconcileKarpenterOperator(ctx context.Context, createOrUpdate upsert.CreateOrUpdateFN, c client.Client, ...) error
- func ReconcileKarpenterOperatorDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, ...) error
- func ReconcileKarpenterOperatorRole(role *rbacv1.Role, owner config.OwnerRef) error
- func ReconcileKarpenterOperatorRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KarpenterOperatorDeployment ¶
func KarpenterOperatorDeployment(namespace string) *appsv1.Deployment
func KarpenterOperatorRole ¶
func KarpenterOperatorRoleBinding ¶
func KarpenterOperatorRoleBinding(controlPlaneNamespace string) *rbacv1.RoleBinding
func KarpenterOperatorServiceAccount ¶
func KarpenterOperatorServiceAccount(controlPlaneNamespace string) *corev1.ServiceAccount
func ReconcileKarpenterOperator ¶
func ReconcileKarpenterOperator(ctx context.Context, createOrUpdate upsert.CreateOrUpdateFN, c client.Client, hypershiftOperatorImage, controlPlaneOperatorImage string, hcp *hyperv1.HostedControlPlane) error
ReconcileKarpenter orchestrates reconciliation of karpenter components.
func ReconcileKarpenterOperatorDeployment ¶
func ReconcileKarpenterOperatorDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, sa *corev1.ServiceAccount, kubeConfigSecret *corev1.Secret, hypershiftOperatorImage string, controlPlaneOperatorImage string, setDefaultSecurityContext bool, ownerRef config.OwnerRef) error
func ReconcileKarpenterOperatorRoleBinding ¶
func ReconcileKarpenterOperatorRoleBinding(binding *rbacv1.RoleBinding, role *rbacv1.Role, sa *corev1.ServiceAccount, owner config.OwnerRef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.