Skip to content

AITRAX-2881: codetogether-collab chart 1.3.0 - optional Gateway API HTTPRoute and ListenerSet - #229

Merged
danc094codetogether merged 1 commit into
devfrom
aitrax-2881-collab-gateway
Nov 9, 2026
Merged

danc094codetogether merged 1 commit into
devfrom
aitrax-2881-collab-gateway

Conversation

@CodeTogetherBot

@CodeTogetherBot CodeTogetherBot commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

AITRAX-2881: Claritev needs the Live Collab chart to work with NGINX Gateway Fabric, as the codetogether-ai chart does (#217, #222). This adds the same optional Gateway API support to codetogether-collab, the current Live Collab chart. The legacy live chart is not changed.

  • gateway.enabled renders an HTTPRoute for the codetogether.url host (port stripped), / to the chart Service, attached to gateway.parentRefs.
  • gateway.listenerSet.enabled renders a ListenerSet (gateway.networking.k8s.io/v1, Gateway API v1.5+) with this release's HTTPS listener on a shared Gateway, with cert-manager annotations and a TLS Secret (default <fullname>-tls). With parentRefs empty, the HTTPRoute attaches to it.
  • Same values shape, helpers and failure messages as the codetogether-ai chart. Values are read defensively, so helm upgrade --reuse-values from 1.2.9 (no gateway key) still renders.
  • The chart fails early when:
    • parentRefs is missing and there is no ListenerSet;
    • the ListenerSet has no Gateway (parentRef.name) or is enabled without gateway.enabled;
    • the cluster doesn't serve the HTTPRoute or ListenerSet API;
    • codetogether.url has no host.
  • No ClientSettingsPolicy: the collab Ingress never raised the body limit, so the 1MB default matches today. WebSocket upgrades pass through NGINX Gateway Fabric without extra settings.
  • NOTES show the route, the ListenerSet and the kubectl checks, and warn when the Ingress and the HTTPRoute are both enabled.
  • README: Gateway API section, ListenerSet adoption steps, cert-manager setup, rollback warning, parameters table.
  • Chart version 1.2.9 → 1.3.0 (appVersion unchanged).

Testing

  • helm lint passes, and so does the new CI step (run locally).
  • Default values render the same manifests as dev. Only the chart version label and the checksums that include it differ.
  • HTTPRoute and ListenerSet rendered in both modes validate against the Gateway API v1.5.0 standard CRD schemas.
  • All six failure cases, and --set gateway=null, behave as expected.
  • Not yet installed on a live cluster.

🤖 Generated with Claude Code

…TTPRoute and ListenerSet

Live Collab can now be routed through a Gateway (for example NGINX Gateway
Fabric) instead of an Ingress controller, like the codetogether-ai chart:

- gateway.enabled renders an HTTPRoute for the codetogether.url host,
  attached to gateway.parentRefs.
- gateway.listenerSet.enabled renders a ListenerSet with this release's
  HTTPS listener on a shared Gateway; the HTTPRoute attaches to it.
- Off by default; the default render is unchanged.
- NOTES, README and the helm template CI checks cover both modes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The optional Gateway API support change has no active review issues blocking approval.

No open issues 🎉

What changed in this PR

Adds optional Gateway API support to the codetogether-collab chart, matching the existing AI chart’s approach for NGINX Gateway Fabric deployments. The legacy live chart is unchanged.

Changes:

  • Adds HTTPRoute routing and an optional HTTPS ListenerSet, with configuration validation and defensive handling of older release values.
  • Documents Gateway setup, certificate management, ListenerSet adoption, and migration precautions.
  • Extends CI render checks and bumps the chart to 1.3.0 without changing the application version.
File Description
charts/​collab/​values.yaml Adds disabled-by-default Gateway and ListenerSet settings.
charts/​collab/​templates/​NOTES.txt Shows routing details, verification commands, and migration warnings.
charts/​collab/​templates/​listenerset.yaml Creates an optional HTTPS listener on a shared Gateway.
charts/​collab/​templates/​httproute.yaml Routes the configured hostname to the chart Service.
charts/​collab/​templates/​_helpers.tpl Adds hostname parsing, ListenerSet enablement, and parent-reference helpers.
charts/​collab/​README.md Documents configuration, certificates, adoption, and rollback behavior.
charts/​collab/​Chart.yaml Bumps the chart version from 1.2.9 to 1.3.0.
.github/​workflows/​helm-template-check.yml Adds Gateway, ListenerSet, invalid-configuration, and null-value render checks.

Review effort: Balanced

@danc094codetogether
danc094codetogether merged commit eca8de8 into dev Nov 9, 2026
2 checks passed
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.

3 participants