hostedcontrolplane

package
v0.1.66 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: Apache-2.0 Imports: 118 Imported by: 0

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() (ec2iface.EC2API, *session.Session)

func IsStorageAndCSIManaged

func IsStorageAndCSIManaged(hostedControlPlane *hyperv1.HostedControlPlane) bool

Types

type HostedControlPlaneReconciler

type HostedControlPlaneReconciler struct {
	client.Client

	// 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
	SREConfigHash         string

	EnableCVOManagementClusterMetricsAccess bool
	ImageMetadataProvider                   util.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