Skip to content
DocsTry Aspire
DocsTry

IngressPathType

Enumnet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
Specifies the type of path matching used in a Kubernetes Ingress rule.
namespace Aspire.Hosting.Kubernetes;
public enum IngressPathType
Prefix= 0
Matches based on a URL path prefix split by /. Matching is case-sensitive and done element-by-element. For example, /api matches /api, /api/, and /api/v1 but not /apiv1.
Exact= 1
Matches the URL path exactly and with case sensitivity.
ImplementationSpecific= 2
Matching is delegated to the ingress controller. Check the controller's documentation for the supported matching semantics.