manifests

package
v0.1.53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KarpenterOperatorDeployment

func KarpenterOperatorDeployment(namespace string) *appsv1.Deployment

func KarpenterOperatorRole

func KarpenterOperatorRole(controlPlaneNamespace string) *rbacv1.Role

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 ReconcileKarpenterOperatorRole

func ReconcileKarpenterOperatorRole(role *rbacv1.Role, owner 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL