mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-26 02:47:15 +00:00
Everything here is a string a human or a customer could read. Three of them were also stale enough to be wrong against the current runtime: - nomad fixtures tagged `traefik.enable=true` while the provider's default prefix has been `ingress` for some time -- the tags matched nothing. Now `ingress.*`, consistent with nomad_test's own cases. - integration rawdata fixtures expected `"entryPoints": ["traefik"]`, but DefaultInternalEntryPointName is `ingress`. - the digestauth compose fixture carried htdigest hashes computed over realm `traefik`, while auth.defaultRealm is `ingress` -- so those credentials could not have authenticated. Recomputed against the real realm: md5(test:ingress:test) and md5(test2:ingress:test2). Also: the CRD fixture that integration actually applies (its `description:` text reaches customers through `kubectl explain`), the repo hero image, a test comment, and a cert-generation note. The CRD descriptions are set to exactly what the (already clean) Go doc comments generate, so a fixed regeneration is a no-op diff. LLM.md is rewritten to match: the ownership table now records direct requires instead of `replace`, and the "intentionally stays" register is corrected -- the digest-realm entry was stale (that file has used realm `ingresser` for a while), and the entries that genuinely stay are stated with the reason they stay: licence attribution, k3s's `--disable=traefik` flag, upstream Docker Hub image addresses, and one upstream issue URL. Two remaining leaks are tracked rather than papered over: the stale `traefik.io_*.yaml` CRD dumps (blocked on a broken code-gen.sh glob) and `OU=Traefik` in the acme test certificate.
267 lines
5.4 KiB
JSON
267 lines
5.4 KiB
JSON
{
|
|
"routers": {
|
|
"Router0@redis": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"middlewares": [
|
|
"compressor@redis",
|
|
"striper@redis"
|
|
],
|
|
"service": "simplesvc",
|
|
"rule": "Host(`kv1.localhost`)",
|
|
"priority": 42,
|
|
"tls": {},
|
|
"observability": {
|
|
"accessLogs": true,
|
|
"metrics": true,
|
|
"tracing": true,
|
|
"traceVerbosity": "minimal"
|
|
},
|
|
"status": "enabled",
|
|
"using": [
|
|
"web"
|
|
]
|
|
},
|
|
"Router1@redis": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"service": "simplesvc",
|
|
"rule": "Host(`kv2.localhost`)",
|
|
"priority": 42,
|
|
"tls": {
|
|
"domains": [
|
|
{
|
|
"main": "aaa.localhost",
|
|
"sans": [
|
|
"aaa.aaa.localhost",
|
|
"bbb.aaa.localhost"
|
|
]
|
|
},
|
|
{
|
|
"main": "bbb.localhost",
|
|
"sans": [
|
|
"aaa.bbb.localhost",
|
|
"bbb.bbb.localhost"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"observability": {
|
|
"accessLogs": true,
|
|
"metrics": true,
|
|
"tracing": true,
|
|
"traceVerbosity": "minimal"
|
|
},
|
|
"status": "enabled",
|
|
"using": [
|
|
"web"
|
|
]
|
|
},
|
|
"api@internal": {
|
|
"entryPoints": [
|
|
"ingress"
|
|
],
|
|
"service": "api@internal",
|
|
"rule": "PathPrefix(`/api`)",
|
|
"ruleSyntax": "default",
|
|
"priority": 9223372036854775806,
|
|
"observability": {
|
|
"accessLogs": true,
|
|
"metrics": true,
|
|
"tracing": true,
|
|
"traceVerbosity": "minimal"
|
|
},
|
|
"status": "enabled",
|
|
"using": [
|
|
"ingress"
|
|
]
|
|
},
|
|
"dashboard@internal": {
|
|
"entryPoints": [
|
|
"ingress"
|
|
],
|
|
"middlewares": [
|
|
"dashboard_redirect@internal",
|
|
"dashboard_stripprefix@internal"
|
|
],
|
|
"service": "dashboard@internal",
|
|
"rule": "PathPrefix(`/`)",
|
|
"ruleSyntax": "default",
|
|
"priority": 9223372036854775805,
|
|
"observability": {
|
|
"accessLogs": true,
|
|
"metrics": true,
|
|
"tracing": true,
|
|
"traceVerbosity": "minimal"
|
|
},
|
|
"status": "enabled",
|
|
"using": [
|
|
"ingress"
|
|
]
|
|
}
|
|
},
|
|
"middlewares": {
|
|
"compressor@redis": {
|
|
"compress": {
|
|
"encodings": [
|
|
"gzip",
|
|
"br",
|
|
"zstd"
|
|
]
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"Router0@redis"
|
|
]
|
|
},
|
|
"dashboard_redirect@internal": {
|
|
"redirectRegex": {
|
|
"regex": "^(http:\\/\\/(\\[[\\w:.]+\\]|[\\w\\._-]+)(:\\d+)?)\\/$",
|
|
"replacement": "${1}/dashboard/",
|
|
"permanent": true
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"dashboard@internal"
|
|
]
|
|
},
|
|
"dashboard_stripprefix@internal": {
|
|
"stripPrefix": {
|
|
"prefixes": [
|
|
"/dashboard/",
|
|
"/dashboard"
|
|
]
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"dashboard@internal"
|
|
]
|
|
},
|
|
"striper@redis": {
|
|
"stripPrefix": {
|
|
"prefixes": [
|
|
"foo",
|
|
"bar"
|
|
]
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"Router0@redis"
|
|
]
|
|
}
|
|
},
|
|
"services": {
|
|
"Service03@redis": {
|
|
"weighted": {
|
|
"services": [
|
|
{
|
|
"name": "srvcA",
|
|
"weight": 42
|
|
},
|
|
{
|
|
"name": "srvcB",
|
|
"weight": 42
|
|
}
|
|
]
|
|
},
|
|
"status": "enabled"
|
|
},
|
|
"api@internal": {
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"api@internal"
|
|
]
|
|
},
|
|
"dashboard@internal": {
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"dashboard@internal"
|
|
]
|
|
},
|
|
"mirror@redis": {
|
|
"mirroring": {
|
|
"service": "simplesvc",
|
|
"mirrorBody": true,
|
|
"maxBodySize": -1,
|
|
"mirrors": [
|
|
{
|
|
"name": "srvcA",
|
|
"percent": 42
|
|
},
|
|
{
|
|
"name": "srvcB",
|
|
"percent": 42
|
|
}
|
|
]
|
|
},
|
|
"status": "enabled"
|
|
},
|
|
"noop@internal": {
|
|
"status": "enabled"
|
|
},
|
|
"simplesvc@redis": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.0.1.1:8888"
|
|
},
|
|
{
|
|
"url": "http://10.0.1.1:8889"
|
|
}
|
|
],
|
|
"strategy": "wrr",
|
|
"passHostHeader": true,
|
|
"responseForwarding": {
|
|
"flushInterval": "100ms"
|
|
}
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"Router0@redis",
|
|
"Router1@redis"
|
|
],
|
|
"serverStatus": {
|
|
"http://10.0.1.1:8888": "UP",
|
|
"http://10.0.1.1:8889": "UP"
|
|
}
|
|
},
|
|
"srvcA@redis": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.0.1.2:8888"
|
|
},
|
|
{
|
|
"url": "http://10.0.1.2:8889"
|
|
}
|
|
],
|
|
"strategy": "wrr",
|
|
"passHostHeader": true,
|
|
"responseForwarding": {
|
|
"flushInterval": "100ms"
|
|
}
|
|
},
|
|
"status": "enabled"
|
|
},
|
|
"srvcB@redis": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.0.1.3:8888"
|
|
},
|
|
{
|
|
"url": "http://10.0.1.3:8889"
|
|
}
|
|
],
|
|
"strategy": "wrr",
|
|
"passHostHeader": true,
|
|
"responseForwarding": {
|
|
"flushInterval": "100ms"
|
|
}
|
|
},
|
|
"status": "enabled"
|
|
}
|
|
}
|
|
} |