Expand description
Kubernetes Ingress / IngressClass translator (DW-064).
A minimal Ingress controller translator that maps the standard
Kubernetes Ingress and IngressClass resources into dwara’s config
model. This is the prerequisite that lands BEFORE the Gateway API CRD
path (per FEATURE_ANALYSIS.md section 5-Platform): Ingress is the
ubiquitous K8s routing API, and folding it into this issue’s scope lets
dwara serve clusters that have not yet adopted Gateway API.
§Translation
Ingressrules -> dwaraRoute(one per rule path; pathTypePrefix->PathMatchKind::Prefix,Exact->Exact,ImplementationSpecific->Prefixwith a warning).Ingressbackend (rule backend or defaultBackend) ->Service+Upstream+Endpoint.IngressTLS -> listener TLS (Terminate mode, cert from the named Secret).- Unsupported annotations (nginx.ingress.kubernetes.io/*, rewrite-target, auth, etc.) -> warnings (never silently dropped).
§Feature gate
None: the module compiles into every build (no k8s cargo
feature).
Re-exports§
pub use super::TranslationResult;
Structs§
- HTTP
Ingress Path - An HTTP path in an Ingress rule.
- Ingress
- An Ingress resource (subset for translation).
- Ingress
Backend - An Ingress backend reference.
- Ingress
Class - An IngressClass resource (subset for translation).
- Ingress
Class Object Meta - IngressClass object metadata.
- Ingress
Class Spec - IngressClass spec.
- Ingress
Object Meta - Ingress object metadata (includes annotations for unsupported-construct detection).
- Ingress
Rule - An Ingress routing rule.
- Ingress
Service Backend - A Service backend reference.
- Ingress
Spec - Ingress spec.
- Ingress
Tls - An Ingress TLS configuration.
- Service
Backend Port - A Service backend port (name or number).
Functions§
- translate_
ingress - Translate Ingress resources into a dwara Gateway config.