hostedcontrolplane

package
v0.1.87 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 137 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// LastAppliedSecurityGroupTagsAnnotation is an annotation that stores the last applied security group tags for the hosted cluster.
	// This is used to track changes to security group tags and ensure that tags changes are applied to the default security group.
	// The value is a JSON string containing the tags.
	// Example: {"Name": "my-cluster", "Environment": "production"}
	LastAppliedSecurityGroupTagsAnnotation = "hypershift.openshift.io/last-applied-security-group-tags"

	DefaultAdminKubeconfigKey              = "kubeconfig"
	ImageStreamAutoscalerImage             = "cluster-autoscaler"
	ImageStreamClusterMachineApproverImage = "cluster-machine-approver"
)

Variables

This section is empty.

Functions

func GetEC2Client added in v0.1.56

func GetEC2Client(ctx context.Context) (awsapi.EC2API, *aws.Config)

func IsStorageAndCSIManaged

func IsStorageAndCSIManaged(hostedControlPlane *hyperv1.HostedControlPlane) bool

Types

type HostedControlPlaneReconciler

type HostedControlPlaneReconciler struct {
	client.Client

	GVKAccessChecker component.GVKAccessChecker

	// ManagementClusterCapabilities can be asked for support of optional management cluster capabilities
	ManagementClusterCapabilities capabilities.CapabiltyChecker

	// SetDefaultSecurityContext is used to configure Security Context for containers
	SetDefaultSecurityContext bool
	// DefaultSecurityContextUID is the UID to use for the default security context
	DefaultSecurityContextUID int64

	// CertRotationScale determines how quickly we rotate certificates - should only be set faster in testing
	CertRotationScale time.Duration

	Log                 logr.Logger
	ReleaseProvider     releaseinfo.ProviderWithOpenShiftImageRegistryOverrides
	UserReleaseProvider releaseinfo.Provider

	EnableCIDebugOutput   bool
	OperateOnReleaseImage string
	DefaultIngressDomain  string
	MetricsSet            metrics.MetricsSet
	KASHealthMetrics      *kas.KASHealthMetrics
	SREConfigHash         string

	EnableCVOManagementClusterMetricsAccess bool
	ImageMetadataProvider                   imageregistry.ImageMetadataProvider
	// contains filtered or unexported fields
}

func (*HostedControlPlaneReconciler) GetGuestClusterClient added in v0.1.2

func (*HostedControlPlaneReconciler) LookupReleaseImage

func (*HostedControlPlaneReconciler) Reconcile

func (*HostedControlPlaneReconciler) SetupWithManager

func (r *HostedControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdate upsert.CreateOrUpdateFN, hcp *hyperv1.HostedControlPlane) error

Jump to

Keyboard shortcuts

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