Skip to content

feat(clustertool): replace ingress-nginx with Envoy Gateway - #763

Merged
Boemeltrein merged 11 commits into
mainfrom
envoy-implementation
Nov 23, 2026
Merged

Boemeltrein merged 11 commits into
mainfrom
envoy-implementation

Conversation

@Boemeltrein

@Boemeltrein Boemeltrein commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Description

Replace ingress-nginx with Envoy Gateway in the templates for new ClusterTool installations.

  • Add the Envoy Gateway HelmRelease, OCIRepository and namespace.
  • Install Envoy Gateway and Gateway API CRDs during bootstrap, before cert-manager starts.
  • Configure internal and external Gateways with separate MetalLB addresses, wildcard TLS and HTTP-to-HTTPS redirects.
  • Add shared client and backend traffic policies.
  • Enable cert-manager integration with Gateway API and ListenerSets.
  • Replace the commented ingress examples for LibreSpeed, Headlamp, Longhorn and Flux Operator with HTTPRoute examples.
  • Replace NGINX_INTERNAL_IP and NGINX_EXTERNAL_IP with ENVOY_INTERNAL_IP and ENVOY_EXTERNAL_IP.
  • Remove the ingress-nginx releases and repository, and simplify the comments in the cluster secrets template.
  • Exclude deleted files from HelmRelease test discovery and disable bundled Gateway API CRDs in the CI cluster.

⚙️ Type of change

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

Validation against commit a9205bf:

  • Go tests, init/genconfig and SOPS roundtrip checks passed in CI.
  • Kubeconform passed in CI.
  • Locally rendered Envoy Gateway and cert-manager with their configured values.
  • Enabled and rendered all four commented HTTPRoute examples in temporary fixtures using the pinned chart versions.
  • Validated seven Envoy resources and four example HTTPRoutes against the Envoy v1.10.0 CRD schemas. This did not include CEL validation or a live Kubernetes API server.

The latest HelmRelease test is pending and the test build is still running.

A fresh Talos bootstrap and live routing, TLS and redirect checks remain to be performed.

  • Run clustertool commands locally
  • Verified cluster bootstrap on Talos nodes
  • Checked generated configs are valid
  • Validated cluster state after changes

📃 Notes:

  • This change targets new ClusterTool v5 bootstraps. Migration of existing NGINX-based clusters is outside this PR.
  • New configurations use ENVOY_INTERNAL_IP and ENVOY_EXTERNAL_IP for the Gateway load balancer addresses.
  • Common2026 changes will be handled in a separate PR.
  • Before merging, update Helm CI dependency detection so that cert-manager receives the required Gateway API CRDs when Gateway API support is enabled.
  • Three trailing-whitespace findings remain to be cleaned up.

🤖 This PR is AI generated.

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 930a5cca-c8a1-4ec2-8e50-e35b080eeda3
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@trueforge-bot

trueforge-bot Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

🚀 HelmRelease CI Report

Overall Status

Stage Result
🔍 Detect HelmReleases success
🧪 Helm Tests success

🧪 HelmReleases Tested

embed/generic/kubernetes/apps/flux-system/flux-operator/app/helm-release.yaml
embed/generic/kubernetes/apps/networking/blocky/app/helm-release.yaml
embed/generic/kubernetes/apps/networking/envoy-gateway/app/helm-release.yaml
embed/generic/kubernetes/apps/observability/headlamp/app/helm-release.yaml
embed/generic/kubernetes/apps/observability/kube-prometheus-stack/app/helm-release.yaml
embed/generic/kubernetes/apps/other/librespeed/app/helm-release.yaml
embed/generic/kubernetes/apps/system/cert-manager/app/helm-release.yaml
embed/generic/kubernetes/apps/system/kubernetes-reflector/app/helm-release.yaml
embed/generic/kubernetes/apps/system/valkey-operator/app/helm-release.yaml


⏭️ HelmReleases Skipped

embed/generic/kubernetes/apps/flux-system/flux-instance/app/helm-release.yaml
embed/generic/kubernetes/apps/system/longhorn/app/helm-release.yaml


Result

✅ All HelmRelease tests passed

@Boemeltrein Boemeltrein changed the title feat(envoy-gateway): migrate nginx to envoy-gateway feat(clustertool): replace ingress-nginx with Envoy Gateway Nov 14, 2026
@Boemeltrein
Boemeltrein marked this pull request as ready for review November 23, 2026 21:03
@Boemeltrein
Boemeltrein merged commit 499d4f9 into main Nov 23, 2026
19 checks passed
@Boemeltrein
Boemeltrein deleted the envoy-implementation branch November 23, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant