sharedingress

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 35 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 (
	KASSVCLBPort = 6443

	// 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 ConfigGeneratorName = "sharedingress-config-generator"
View Source
const RouterNamespace = "hypershift-sharedingress"

Variables

This section is empty.

Functions

func ConfigGeneratorContainer added in v0.1.66

func ConfigGeneratorContainer() *corev1.Container

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