Module middlewares

Module middlewares 

Source

Structs§

Middleware
Auto-generated derived type for MiddlewareSpec via CustomResource
MiddlewareAddPrefix
AddPrefix holds the add prefix middleware configuration. This middleware updates the path of a request before forwarding it. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/addprefix/
MiddlewareBasicAuth
BasicAuth holds the basic auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/basicauth/
MiddlewareBuffering
Buffering holds the buffering middleware configuration. This middleware retries or limits the size of requests that can be forwarded to backends. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/buffering/#maxrequestbodybytes
MiddlewareChain
Chain holds the configuration of the chain middleware. This middleware enables to define reusable combinations of other pieces of middleware. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/chain/
MiddlewareChainMiddlewares
MiddlewareRef is a reference to a Middleware resource.
MiddlewareCircuitBreaker
CircuitBreaker holds the circuit breaker configuration.
MiddlewareCompress
Compress holds the compress middleware configuration. This middleware compresses responses before sending them to the client, using gzip, brotli, or zstd compression. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/compress/
MiddlewareContentType
ContentType holds the content-type middleware configuration. This middleware exists to enable the correct behavior until at least the default one can be changed in a future version.
MiddlewareDigestAuth
DigestAuth holds the digest auth middleware configuration. This middleware restricts access to your services to known users. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/digestauth/
MiddlewareErrors
ErrorPage holds the custom error middleware configuration. This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/errorpages/
MiddlewareErrorsService
Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/errorpages/#service
MiddlewareErrorsServiceHealthCheck
Healthcheck defines health checks for ExternalName services.
MiddlewareErrorsServiceResponseForwarding
ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client.
MiddlewareErrorsServiceSticky
Sticky defines the sticky sessions configuration. More info: https://doc.traefik.io/traefik/v3.3/routing/services/#sticky-sessions
MiddlewareErrorsServiceStickyCookie
Cookie defines the sticky cookie configuration.
MiddlewareForwardAuth
ForwardAuth holds the forward auth middleware configuration. This middleware delegates the request authentication to a Service. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/forwardauth/
MiddlewareForwardAuthTls
TLS defines the configuration used to secure the connection to the authentication server.
MiddlewareGrpcWeb
GrpcWeb holds the gRPC web middleware configuration. This middleware converts a gRPC web request to an HTTP/2 gRPC request.
MiddlewareHeaders
Headers holds the headers middleware configuration. This middleware manages the requests and responses headers. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/headers/#customrequestheaders
MiddlewareInFlightReq
InFlightReq holds the in-flight request middleware configuration. This middleware limits the number of requests being processed and served concurrently. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/inflightreq/
MiddlewareInFlightReqSourceCriterion
SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the requestHost. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/inflightreq/#sourcecriterion
MiddlewareInFlightReqSourceCriterionIpStrategy
IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ipallowlist/#ipstrategy
MiddlewareIpAllowList
IPAllowList holds the IP allowlist middleware configuration. This middleware limits allowed requests based on the client IP. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ipallowlist/
MiddlewareIpAllowListIpStrategy
IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ipallowlist/#ipstrategy
MiddlewareIpWhiteList
Deprecated: please use IPAllowList instead.
MiddlewareIpWhiteListIpStrategy
IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ipallowlist/#ipstrategy
MiddlewarePassTlsClientCert
PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/passtlsclientcert/
MiddlewarePassTlsClientCertInfo
Info selects the specific client certificate details you want to add to the X-Forwarded-Tls-Client-Cert-Info header.
MiddlewarePassTlsClientCertInfoIssuer
Issuer defines the client certificate issuer details to add to the X-Forwarded-Tls-Client-Cert-Info header.
MiddlewarePassTlsClientCertInfoSubject
Subject defines the client certificate subject details to add to the X-Forwarded-Tls-Client-Cert-Info header.
MiddlewareRateLimit
RateLimit holds the rate limit configuration. This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ratelimit/
MiddlewareRateLimitSourceCriterion
SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request’s remote address field (as an ipStrategy).
MiddlewareRateLimitSourceCriterionIpStrategy
IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/ipallowlist/#ipstrategy
MiddlewareRedirectRegex
RedirectRegex holds the redirect regex middleware configuration. This middleware redirects a request using regex matching and replacement. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/redirectregex/#regex
MiddlewareRedirectScheme
RedirectScheme holds the redirect scheme middleware configuration. This middleware redirects requests from a scheme/port to another. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/redirectscheme/
MiddlewareReplacePath
ReplacePath holds the replace path middleware configuration. This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/replacepath/
MiddlewareReplacePathRegex
ReplacePathRegex holds the replace path regex middleware configuration. This middleware replaces the path of a URL using regex matching and replacement. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/replacepathregex/
MiddlewareRetry
Retry holds the retry middleware configuration. This middleware reissues requests a given number of times to a backend server if that server does not reply. As soon as the server answers, the middleware stops retrying, regardless of the response status. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/retry/
MiddlewareSpec
MiddlewareSpec defines the desired state of a Middleware.
MiddlewareStripPrefix
StripPrefix holds the strip prefix middleware configuration. This middleware removes the specified prefixes from the URL path. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/stripprefix/
MiddlewareStripPrefixRegex
StripPrefixRegex holds the strip prefix regex middleware configuration. This middleware removes the matching prefixes from the URL path. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/stripprefixregex/

Enums§

MiddlewareErrorsServiceKind
Service defines the reference to a Kubernetes Service that will serve the error page. More info: https://doc.traefik.io/traefik/v3.3/middlewares/http/errorpages/#service