Skip to content

Class TraefikIngressRouteOptions

Namespace: Cephalon.Edge.Traefik.Configuration
Assembly: Cephalon.Edge.Traefik.dll

Configures one cell traffic automation route that should materialize into Traefik IngressRoute intent.

public sealed class TraefikIngressRouteOptions

objectTraefikIngressRouteOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public TraefikIngressRouteOptions()

Gets or sets the Kubernetes namespace that owns the backend Service. When omitted, the materializer falls back to the effective IngressRoute namespace.

public string? BackendNamespace { get; set; }

string?

Gets or sets the backend Service port referenced by the projected route.

public int? BackendPort { get; set; }

int?

Gets or sets the optional backend scheme such as http or https.

public string? BackendScheme { get; set; }

string?

Gets or sets the backend Kubernetes Service name referenced by the projected route.

public string? BackendServiceName { get; set; }

string?

Gets or sets the optional backend weight applied to the projected Service reference.

public int? BackendWeight { get; set; }

int?

Gets the Traefik entry points that should accept requests for the projected route. When empty, the materializer falls back to the pack-level EntryPoints list.

public IList<string> EntryPoints { get; }

IList<string>

Gets or sets the IngressRoute resource name that should represent the route in Traefik. When omitted, the materializer derives a deterministic DNS-safe name from .

public string? IngressRouteName { get; set; }

string?

Gets or sets the Traefik rule expression such as Host(api.example.com) && PathPrefix(/orders).

public string? MatchRule { get; set; }

string?

Gets the middleware references that should attach to the projected route in declaration order.

public IList<TraefikMiddlewareReferenceOptions> Middlewares { get; }

IList<TraefikMiddlewareReferenceOptions>

Gets or sets the optional pass-host-header posture applied to the projected backend Service reference.

public bool? PassHostHeader { get; set; }

bool?

Gets or sets the optional explicit Traefik route priority.

public int? Priority { get; set; }

int?

Gets or sets the Cephalon cell-route identifier that this provider projection owns.

public string? RouteId { get; set; }

string?

Gets or sets the Kubernetes namespace that should own the projected IngressRoute resource. When omitted, the materializer falls back to the pack-level RouteNamespace.

public string? RouteNamespace { get; set; }

string?

Gets or sets the optional TLSOption resource name associated with the projected route.

public string? TlsOptionsName { get; set; }

string?

Gets or sets the optional Kubernetes namespace that owns the referenced TLSOption. When omitted, the materializer falls back to the effective IngressRoute namespace.

public string? TlsOptionsNamespace { get; set; }

string?

Gets or sets the optional TLS Secret name that should terminate the projected IngressRoute.

public string? TlsSecretName { get; set; }

string?