sharedingress

package
v0.1.52 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KASSVCLBPort      = 6443
	ExternalDNSLBPort = 443
)
View Source
const PrivateRouterImage = "haproxy-router"
View Source
const RouterNamespace = "hypershift-sharedingress"

Variables

This section is empty.

Functions

func Hostname

func Hostname(hcp *hyperv1.HostedControlPlane) string

func PullSecret

func PullSecret() *corev1.Secret

func ReconcileRouteStatus

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

func ReconcileRouterConfiguration

func ReconcileRouterConfiguration(cm *corev1.ConfigMap, config string) error

func ReconcileRouterDeployment

func ReconcileRouterDeployment(deployment *appsv1.Deployment, configMap *corev1.ConfigMap) error

func ReconcileRouterPodDisruptionBudget

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

func ReconcileRouterService

func ReconcileRouterService(svc *corev1.Service) error

func RouterConfigurationConfigMap

func RouterConfigurationConfigMap() *corev1.ConfigMap

func RouterDeployment

func RouterDeployment() *appsv1.Deployment

func RouterPodDisruptionBudget added in v0.1.48

func RouterPodDisruptionBudget() *policyv1.PodDisruptionBudget

func RouterPublicService

func RouterPublicService() *corev1.Service

func UseSharedIngress

func UseSharedIngress() bool

Types

type SharedIngressReconciler

type SharedIngressReconciler struct {
	Client    client.Client
	Namespace string
	// contains filtered or unexported fields
}

func (*SharedIngressReconciler) Reconcile

func (r *SharedIngressReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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