osm

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIngressBackendReconciler

func NewIngressBackendReconciler(manager ctrl.Manager, conf *config.Config, ingressControllerNamer IngressControllerSourceSpecer) error

func NewIngressCertConfigReconciler

func NewIngressCertConfigReconciler(manager ctrl.Manager, conf *config.Config) error

Types

type IngressBackendReconciler

type IngressBackendReconciler struct {
	// contains filtered or unexported fields
}

IngressBackendReconciler creates an Open Service Mesh IngressBackend for every ingress resource with "kubernetes.azure.com/use-osm-mtls=true". This allows nginx to use mTLS provided by OSM when contacting upstreams.

func (*IngressBackendReconciler) Reconcile

type IngressCertConfigReconciler

type IngressCertConfigReconciler struct {
	// contains filtered or unexported fields
}

IngressCertConfigReconciler updates the Open Service Mesh configuration to generate a client cert to be used by the ingress controller when contacting upstreams.

func (*IngressCertConfigReconciler) Reconcile

type IngressControllerSourceSpecer added in v0.1.0

type IngressControllerSourceSpecer interface {
	IngressSourceSpec(ing *netv1.Ingress) (policyv1alpha1.IngressSourceSpec, bool, error)
}

IngressControllerSourceSpecer returns the IngressSourceSpec an Ingress consumes and a boolean indicating whether it's managed by web app routing. If an ingress is not managed by web app routing, the specer will return false and isn't guaranteed to return the IngressSourceSpec

func NewIngressControllerSourceSpecerFromFn added in v0.1.0

func NewIngressControllerSourceSpecerFromFn(fn func(ing *netv1.Ingress) (policyv1alpha1.IngressSourceSpec, bool, error)) IngressControllerSourceSpecer

NewIngressControllerNamer returns an IngressControllerSourceSpecer using a map from ingress class names to controller names

Jump to

Keyboard shortcuts

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