Files
zeekay 4e83ffa927 refactor: migrate CRD API groups to hanzo.ai and labels to ingress.*
- CRD API group: traefik.io -> hanzo.ai (GroupName, apiVersion, RBAC)
- Docker/provider label prefix: traefik.* -> ingress.* (all providers)
- CRD kind: TraefikService -> IngressService
- Directory renames: traefikio/ -> hanzoai/ (types, generated code, listers, informers, clientset)
- Config root name: traefik -> ingress (KV stores, file paths, env prefix)
- Metrics prefix: traefik_ -> ingress_
- Kubernetes annotations: traefik.ingress.kubernetes.io/ -> ingress.kubernetes.io/
- Gateway annotations: traefik.io/ -> hanzo.ai/
- Internal provider package: provider/traefik -> provider/builtins
- Type renames: TraefikLog -> IngressLog, TraefikCmdConfiguration -> IngressCmdConfiguration
- Generated client methods: TraefikV1alpha1() -> HanzoV1alpha1(), Traefik() -> Hanzo()
- Sample configs: traefik.sample.{toml,yml} -> ingress.sample.{toml,yml}
- Config paths: /etc/traefik/ -> /etc/ingress/, ~/.config/traefik -> ~/.config/ingress
- Default cert CN: TRAEFIK DEFAULT CERT -> INGRESS DEFAULT CERT
2026-02-26 10:33:54 -08:00

41 lines
1.0 KiB
YAML

services:
simple:
image: traefik/whoami
withtcplabels:
image: traefik/whoamitcp
command: [ "-name", "my.super.host" ]
labels:
ingress.tcp.Routers.Super.Rule: HostSNI(`my.super.host`)
ingress.tcp.Routers.Super.tls: true
ingress.tcp.Services.Super.Loadbalancer.server.port: 8080
withlabels1:
image: traefik/whoami
labels:
ingress.http.Routers.Super.Rule: Host(`my.super.host`)
withlabels2:
image: traefik/whoami
labels:
ingress.http.Routers.SuperHost.Rule: Host(`my-super.host`)
withonelabelmissing:
image: traefik/whoami
labels:
ingress.random.value: my.super.host
powpow:
image: traefik/whoami
command:
- --port=2375
labels:
ingress.http.Routers.Super.Rule: Host(`my.super.host`)
ingress.http.Services.powpow.LoadBalancer.server.Port: 2375
nonRunning:
image: traefik/whoami
labels:
ingress.http.Routers.NonRunning.Rule: Host(`non.running.host`)
ingress.docker.allownonrunning: "true"