Commit Graph
405 Commits
Author SHA1 Message Date
41ec6d6f1a rebrand(ingress): finish de-Traefik + own yaegi/grpc-web framework deps (#29) (#8)
* rebrand: strip "traefik" branding from the ingress controller

Removes all "traefik" branding/paths/env/comments from the shipping
surface while keeping load-bearing config schema and external deps intact.

Paths / binary:
- cmd/traefik/ -> cmd/ingress/ (traefik.go->ingress.go, etc.); merged out
  the empty cmd/ingress/generate.go stub. Build refs updated in Dockerfile,
  Makefile, .goreleaser.yml.tmpl, script/crossbinary-default.sh, README.
- contrib/systemd/traefik.service -> ingress.service (Hanzo Ingress unit,
  /etc/ingress paths, hanzo-ingress binary).
- contrib/grafana/traefik*.json -> ingress*.json; metric queries
  traefik_* -> ingress_* (now match the engine's ingress_ prefix) + titles.
- script/gcg/traefik-*.toml -> ingress-*.toml; Owner/Repo -> hanzoai/ingress.

Code/config branding (comments + non-schema strings):
- doc.go, mount.go, client/router.go, zap_backend.go, forward_backend.go,
  register.go: "Traefik" -> "the ingress"/"Hanzo Ingress"; corrected the
  annotation example to ingress.kubernetes.io/.
- ingress.sample.{toml,yml}: header + log + entryPoint example.
- pkg/config/dynamic/fixtures/sample.toml comment.
- pkg/redactor/testdata example+expected: /etc/traefik/traefik.toml ->
  /etc/ingress/ingress.toml, TraefikLogsFile -> IngressLogsFile (both files
  kept identical so the redactor golden test stays green).
- .golangci.yml importas aliases traefik* -> ingress* and the stale
  crd/traefikio path -> crd/hanzoai; unused-var exclude ingressVersion.
- .dockerignore / .gitignore: drop stale /traefik artifacts.
- script/code-gen.sh: PROJECT_MODULE -> github.com/hanzoai/ingress,
  v1alpha1 path -> crd/hanzoai, CRD output -> hanzo.ai_*.yaml /
  01-ingress-crd.yml.
- script/deploy.sh: drop the upstream traefik-library-image push.
- Removed dead, disabled upstream docs-publish workflow
  (.github/workflows/documentation.yaml, pushed to traefik/doc).
- LLM.md: rewrote rebrand notes; documented load-bearing "traefik" that
  stays (external imports, hash-bound realm, upstream issue URL, license
  attribution) and vendored upstream docs/webui/changelog as out of scope.

Load-bearing "traefik" intentionally KEPT (not branding):
- external Go modules github.com/traefik/{oxy,yaegi,grpc-web};
- digest_auth_test.go htdigest realm "traefik" (invalidates the hashes);
- consul_test.go upstream issue URL #8092 (provenance citation);
- LICENSE.md + boilerplate.go.tmpl Containous/Traefik Labs copyright
  (MIT attribution; Hanzo AI appended);
- integration/ test fixtures (traefik/whoami images, rawdata-*.json
  golden entrypoint names, nomad traefik.* tags) — test-only, semantics-
  sensitive; out of scope for this pass.

Verify: `go build $(go list ./... | grep -v /webui)` passes; redactor /
config/dynamic / nomad / server/service tests pass. The webui go:embed
failure and the kubernetes/crd test (ingress.k8s.io group mismatch) are
pre-existing on main, not caused by this rebrand.

* build(ingress): own yaegi + grpc-web via hanzoai source-fork replaces (#29)

Task #29 — own the framework deps (Traefik half). The Traefik engine is
already fully source-forked into github.com/hanzoai/ingress and the
user-facing surface is debranded (cmd/ingress -> hanzo-ingress, CRD group
hanzo.ai, ingress_ metrics, X-Ingress-* headers). The last upstream
traefik/* runtime libraries are now pinned to hanzoai source-forks:

  github.com/traefik/grpc-web => github.com/hanzoai/grpc-web v0.16.0
  github.com/traefik/yaegi    => github.com/hanzoai/yaegi    v0.16.1

Both forks keep the upstream module path at the identical version tag, so
the import lines in pkg/plugins (yaegi Go-interpreter for plugins) and
pkg/middlewares/grpcweb are unchanged — only resolution moves to a path
hanzoai controls (immune to upstream re-tag/deletion; patchable in-house).

oxy has no hanzoai fork yet and stays on the existing traefik/oxy replace —
tracked next-wave (create hanzoai/oxy first).

Proof:
  go list -m github.com/traefik/{yaegi,grpc-web}  -> both => hanzoai/*
  go build ./...                                  -> exit 0 (webui assets staged)
  go test ./pkg/plugins/...                       -> ok (yaegi consumer)
  readonly (CI-mode) build of swapped pkgs        -> exit 0 (go.sum complete)

* docs(ingress): document traefik/* framework-dep ownership boundary (#29)

---------

Co-authored-by: Antje Worring <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-03 03:34:30 -07:00
MichaelandGitHub f813c529da Prepare release v3.6.9 2026-02-23 18:06:04 +01:00
MichaelandGitHub bbe3f338f6 Prepare release v3.6.8 2026-02-11 17:26:05 +01:00
Kevin PolletandGitHub 0cf15479c5 Prepare release v3.6.7 2026-01-14 14:56:04 +01:00
Jesper NoordsijandGitHub c29b64b0c0 Update code generator 2026-01-13 16:34:05 +01:00
MichaelandGitHub a4866cc1cf Fix Kubernetes reference yml file 2026-01-09 10:12:04 +01:00
Jesper NoordsijandGitHub a582383772 Remove unused empty code-gen-docker.sh script 2026-01-05 14:34:05 +01:00
MichaelandGitHub 395806b600 Prepare release v3.6.6 2025-12-29 16:42:04 +01:00
Jesper NoordsijandGitHub e5a9b5cbc6 Drop certificates and script 2025-12-22 15:36:05 +01:00
Kevin PolletandGitHub 41c4bdeda3 Prepare release v3.6.5 2025-12-16 15:50:05 +01:00
Kevin PolletandGitHub 88dc3ded0a Prepare release v3.6.4 2025-12-05 10:42:04 +01:00
RomainandGitHub c262903966 Prepare release v3.6.3 2025-12-04 17:02:05 +01:00
kevinpollet 29d670c152 Merge branch v2.11 into v3.6 2025-12-04 16:25:18 +01:00
RomainandGitHub 9c6913c864 Prepare release v2.11.32 2025-12-04 15:26:04 +01:00
RomainandGitHub aaed165b8c Prepare release v3.6.2 2025-11-18 17:06:09 +01:00
Kevin PolletandGitHub cc76f9c29c Prepare release v3.6.1 2025-11-13 14:20:04 +01:00
Kevin PolletandGitHub b4fa8572b3 Prepare release v2.11.31 2025-11-13 10:42:16 +01:00
Kevin PolletandGitHub 1206ca9c35 Prepare release v3.6.0 2025-11-07 16:16:04 +01:00
kevinpollet 537aca4b33 Merge branch v3.5 into v3.6 2025-11-07 15:11:08 +01:00
RomainandGitHub 2413eb5975 Prepare release v3.5.6 2025-11-07 14:40:05 +01:00
RomainandGitHub 51f83e9df6 Prepare release v3.5.5 2025-11-07 14:16:04 +01:00
Kevin PolletandGitHub 4714a8bfa7 Prepare release v3.6.0-rc1 2025-10-28 16:28:05 +01:00
RomainandGitHub dafcba55ab Prepare release v3.5.4 2025-10-28 11:44:04 +01:00
RomainandGitHub 1ccbf73d4b Prepare release v2.11.30 2025-10-28 09:44:04 +01:00
RomainandGitHub c7f4ef02b0 Prepare release v3.5.3 2025-09-26 09:46:03 +01:00
RomainandGitHub ed69571dd4 Prepare release v3.5.2 2025-09-09 12:12:04 +02:00
RomainandGitHub f12d461345 Prepare release v3.5.1 2025-08-27 11:05:05 +02:00
romain 23c4a74e43 Merge branch v2.11 into v3.5 2025-08-26 17:35:37 +02:00
RomainandGitHub f645bb9a7b Prepare release v2.11.29 2025-08-26 14:50:08 +02:00
MichaelandGitHub 18f40652c9 Remove Semaphore CI 2025-08-13 10:30:06 +02:00
RomainandGitHub 47b6bc69af Prepare release v3.5.0 2025-07-23 15:46:04 +02:00
romain 3f7af6a150 Merge branch v3.4 into v3.5 2025-07-23 14:38:33 +02:00
RomainandGitHub fdb22a85e6 Prepare release v3.4.5 2025-07-23 11:16:04 +02:00
RomainandGitHub 9d24800c71 Prepare release v2.11.28 2025-07-23 10:34:04 +02:00
Kevin PolletandGitHub 11243d22cd Prepare release v3.5.0-rc2 2025-07-11 11:24:04 +02:00
kevinpollet 21f7de985a Merge branch v3.4 into v3.5 2025-07-11 10:29:18 +02:00
Kevin PolletandGitHub 387b0d6ae5 Prepare release v3.4.4 2025-07-11 10:26:04 +02:00
Kevin PolletandGitHub 1fc1888dbb Prepare release v2.11.27 2025-07-11 09:30:05 +02:00
RomainandGitHub c039478274 Prepare release v3.5.0-rc1 2025-06-26 16:44:04 +02:00
RomainandGitHub b33ee678f6 Prepare release v3.4.3 2025-06-26 15:18:04 +02:00
RomainandGitHub e8574d650f Prepare release v3.4.2 2025-06-26 12:30:04 +02:00
RomainandGitHub e91757695a Prepare release v2.11.26 2025-06-26 11:50:04 +02:00
RomainandGitHub 649d1e72d6 Prepare release v3.4.1 2025-05-27 14:32:04 +02:00
RomainandGitHub 3662929c50 Prepare release v2.11.25 2025-05-27 12:10:05 +02:00
Kevin PolletandGitHub 0232ced8b2 Prepare release v3.4.0 2025-05-05 15:34:04 +02:00
kevinpollet ee8f9e4fca Merge branch v3.3 into v3.4 2025-05-05 11:08:36 +02:00
RomainandGitHub 4a3ec8f8e1 Prepare release v3.3.7 2025-05-05 10:38:04 +02:00
RomainandGitHub 7230e88bad Prepare release v3.4.0 rc2 2025-04-18 14:24:04 +02:00
kevinpollet ab98a8a555 Merge branch v3.3 into v3.4 2025-04-18 11:49:36 +02:00
RomainandGitHub cd3d2bed5a Prepare release v3.3.6 2025-04-18 11:10:04 +02:00