Skip to content

feat: add opt-in Gateway API HTTPRoute support to dify chart#419

Open
somaz94 wants to merge 1 commit into
BorisPolonsky:masterfrom
somaz94:feat/httproute
Open

feat: add opt-in Gateway API HTTPRoute support to dify chart#419
somaz94 wants to merge 1 commit into
BorisPolonsky:masterfrom
somaz94:feat/httproute

Conversation

@somaz94

@somaz94 somaz94 commented Jul 3, 2026

Copy link
Copy Markdown

Adds an opt-in HTTPRoute (Gateway API) template so Dify can be exposed via a
Gateway as an alternative to Ingress. Disabled by default
(httproute.enabled: false); the existing ingress block is untouched, so current
users are unaffected. Requires the Gateway API CRDs in the cluster.

Dify fronts all components with an internal nginx proxy exposing a single
Service, so the route needs just one backendRef (the proxy Service on
service.port), mirroring the Ingress backend.

Validation (local):

  • helm template: renders nothing when disabled (default), a valid HTTPRoute when enabled, and coexists with Ingress when both are enabled
  • ct lint --charts charts/dify: passed
  • ci/scripts/check_unused_values.py: no unused values
  • helm lint: passed

I did not bump Chart.yaml (ct.yaml has check-version-increment: false and the
release workflow is maintainer-gated), so the version bump is left for the
release. Happy to trim the config surface (e.g. drop additionalRules/apiVersion)
if you prefer to keep it more minimal.

related: #398

@somaz94 somaz94 mentioned this pull request Jul 3, 2026
@somaz94
somaz94 marked this pull request as ready for review July 8, 2026 06:01
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