mirror of
https://github.com/hanzoai/ingress.git
synced 2026-11-02 14:32:18 +00:00
376 files. All tests pass. Breaking wire changes: - X-Traefik-Fast-Proxy → X-Ingress-Fast-Proxy - X-Traefik-Router → X-Ingress-Router - Metric prefix traefik.* → ingress.* - ACME user agent containous-traefik → hanzoai-ingress - Plugin manifest .traefik.yml → .ingress.yml - Recovery middleware traefik-internal-recovery → ingress-internal-recovery Copyright: Traefik Labs → Hanzo AI Inc (all headers) Test domains: *.traefik.wtf → *.ingress.test Doc URLs: doc.traefik.io → hanzo.ai/docs/ingress Internal vars: traefikService* → ingressService*, etc. Docker refs: traefik:latest → ghcr.io/hanzoai/ingress:latest 100+ YAML/JSON test fixtures updated Remaining 30 refs are paerser library constraints (traefik.configfile flag, TRAEFIK_* env prefix) and digest auth hash-bound realm values. Cannot change without forking github.com/traefik/paerser.
80 lines
1.4 KiB
YAML
80 lines
1.4 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: ingress-keep
|
|
spec:
|
|
controller: hanzo.ai/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: "whoami-keep-route"
|
|
spec:
|
|
ingressClassName: "ingress-keep"
|
|
rules:
|
|
- host: "whoami.test.keep"
|
|
http:
|
|
paths:
|
|
- path: "/keep"
|
|
backend:
|
|
service:
|
|
name: whoami
|
|
port:
|
|
number: 80
|
|
pathType: Prefix
|
|
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: ingress-drop
|
|
spec:
|
|
controller: hanzo.ai/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: "whoami-drop-route"
|
|
spec:
|
|
ingressClassName: "ingress-drop"
|
|
rules:
|
|
- host: "whoami.test.drop"
|
|
http:
|
|
paths:
|
|
- path: "/drop"
|
|
backend:
|
|
service:
|
|
name: whoami
|
|
port:
|
|
number: 80
|
|
pathType: Prefix
|
|
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: ingress-not-controller
|
|
spec:
|
|
controller: not.tr43phic.io/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: "whoami-drop-ingress"
|
|
spec:
|
|
ingressClassName: "ingress-not-controller"
|
|
rules:
|
|
- host: "whoami.test.not.ingress"
|
|
http:
|
|
paths:
|
|
- path: "/ingress"
|
|
backend:
|
|
service:
|
|
name: whoami
|
|
port:
|
|
number: 80
|
|
pathType: Prefix
|