sharedingress

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KASSVCLBPort      = 6443
	ExternalDNSLBPort = 443

	// AzurePipIpTagsEnvVar is the environment variable that contains the IP tags for the Azure Public IP.
	// It is used to tag the Azure Public IP associated with the Shared Ingress.
	// Expected format: comma separated key=value pairs with allowed keys: "FirstPartyUsage" or "RoutingPreference".
	// Example: "RoutingPreference=Internet" or "FirstPartyUsage=SomeValue,RoutingPreference=Internet".
	// Both keys and values must be non-empty.
	AzurePipIpTagsEnvVar = "SHARED_INGRESS_AZURE_PIP_IP_TAGS"
)
View Source
const PrivateRouterImage = "haproxy-router"
View Source
const RouterNamespace = "hypershift-sharedingress"

Variables

This section is empty.

Functions

func ConfigGeneratorContainer added in v0.1.66

func ConfigGeneratorContainer() *corev1.Container

func Hostname

func Hostname(hcp *hyperv1.HostedControlPlane) string

func PullSecret

func PullSecret() *corev1.Secret

func ReconcileRouteStatus

func ReconcileRouteStatus(route *routev1.Route, canonicalHostname string)

func ReconcileRouterDeployment

func ReconcileRouterDeployment(deployment *appsv1.Deployment, hypershiftOperatorImage string) error

func ReconcileRouterNetworkPolicy added in v0.1.60

func ReconcileRouterNetworkPolicy(policy *networkingv1.NetworkPolicy, isOpenShiftDNS bool, managementClusterNetwork *configv1.Network)

func ReconcileRouterPodDisruptionBudget

func ReconcileRouterPodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, ownerRef config.OwnerRef)

func ReconcileRouterService

func ReconcileRouterService(svc *corev1.Service, azurePipIpTags string) error

func RouterDeployment

func RouterDeployment() *appsv1.Deployment

func RouterNetworkPolicy added in v0.1.60

func RouterNetworkPolicy() *networkingv1.NetworkPolicy

func RouterPodDisruptionBudget added in v0.1.48

func RouterPodDisruptionBudget() *policyv1.PodDisruptionBudget

func RouterPublicService

func RouterPublicService() *corev1.Service

func RouterServiceAccount added in v0.1.66

func RouterServiceAccount() *corev1.ServiceAccount

func UseSharedIngress

func UseSharedIngress() bool

Types

type SharedIngressReconciler

type SharedIngressReconciler struct {
	Client    client.Client
	Namespace string

	// ManagementClusterCapabilities can be asked for support of optional management cluster capabilities
	ManagementClusterCapabilities capabilities.CapabiltyChecker
	HypershiftOperatorImage       string
	AzurePipIpTags                string
	// contains filtered or unexported fields
}

func (*SharedIngressReconciler) Reconcile

func (*SharedIngressReconciler) SetupWithManager

func (r *SharedIngressReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdateProvider upsert.CreateOrUpdateProvider) error

Jump to

Keyboard shortcuts

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