osm

package
v0.0.0-...-4234fb6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 12 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 IngressControllerNamer) 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 IngressControllerNamer

type IngressControllerNamer interface {
	IngressControllerName(ing *netv1.Ingress) (string, bool)
}

IngressControllerNamer returns the controller name that 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 namer will return false and isn't guaranteed to return the controller name

func NewIngressControllerNamer

func NewIngressControllerNamer(icToController map[string]string) IngressControllerNamer

NewIngressControllerNamer returns an IngressControllerNamer 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