Documentation
¶
Index ¶
- Constants
- func GetEC2Client() (ec2iface.EC2API, *session.Session)
- func IsStorageAndCSIManaged(hostedControlPlane *hyperv1.HostedControlPlane) bool
- type HostedControlPlaneReconciler
- func (r *HostedControlPlaneReconciler) GetGuestClusterClient(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*kubernetes.Clientset, error)
- func (r *HostedControlPlaneReconciler) LookupReleaseImage(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*releaseinfo.ReleaseImage, error)
- func (r *HostedControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *HostedControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdate upsert.CreateOrUpdateFN, ...) error
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 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 (r *HostedControlPlaneReconciler) GetGuestClusterClient(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*kubernetes.Clientset, error)
func (*HostedControlPlaneReconciler) LookupReleaseImage ¶
func (r *HostedControlPlaneReconciler) LookupReleaseImage(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*releaseinfo.ReleaseImage, error)
func (*HostedControlPlaneReconciler) SetupWithManager ¶
func (r *HostedControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdate upsert.CreateOrUpdateFN, hcp *hyperv1.HostedControlPlane) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.