Skip to content

feat: add HTTPRoute support#212

Merged
zxh326 merged 4 commits intojuicedata:mainfrom
LeoQuote:feat_httproute_support
Mar 2, 2026
Merged

feat: add HTTPRoute support#212
zxh326 merged 4 commits intojuicedata:mainfrom
LeoQuote:feat_httproute_support

Conversation

@LeoQuote
Copy link
Copy Markdown
Contributor

Gateway API is an official Kubernetes project focused on L4 and L7 routing in Kubernetes.

This pr support generating httproute resource to expose dashboard web service.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds Gateway API HTTPRoute support to the JuiceFS CSI Driver Helm chart, providing an alternative to Ingress for exposing the dashboard web service using Kubernetes Gateway API L7 routing capabilities.

Changes:

  • Added HTTPRoute template with support for hostname reuse from ingress configuration and custom routing rules
  • Added httpRoute configuration section to values.yaml with options for parentRefs, hostnames, and extraPaths
  • Bumped chart version from 0.31.1 to 0.31.2

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
charts/juicefs-csi-driver/Chart.yaml Version bump to 0.31.2 for new HTTPRoute feature
charts/juicefs-csi-driver/values.yaml Added httpRoute configuration section with enabled flag, parentRefs, hostnames, and extraPaths options
charts/juicefs-csi-driver/templates/httproute.yaml New template generating Gateway API HTTPRoute resource for dashboard service

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml
Comment thread charts/juicefs-csi-driver/values.yaml Outdated
Comment thread charts/juicefs-csi-driver/values.yaml
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
@LeoQuote LeoQuote marked this pull request as draft February 26, 2026 08:41
@LeoQuote LeoQuote force-pushed the feat_httproute_support branch from 97408d9 to de66b94 Compare February 26, 2026 08:58
@LeoQuote LeoQuote marked this pull request as ready for review February 26, 2026 08:58
@LeoQuote LeoQuote requested a review from Copilot February 26, 2026 08:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/juicefs-csi-driver/templates/httproute.yaml
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml
Comment thread charts/juicefs-csi-driver/Chart.yaml Outdated
Comment thread charts/juicefs-csi-driver/templates/controller.yaml
Comment thread charts/juicefs-csi-driver/templates/httproute.yaml Outdated
Comment thread charts/juicefs-csi-driver/values.yaml Outdated
Comment on lines +379 to +381
# When true, reuse host and path settings from the ingress section above to build the HTTPRoute.
# When false, configure hostnames and extraPaths explicitly below.
reuseIngressConfiguration: false
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It seems that this logic isn’t necessary. This would make the httproute template simpler and more maintainable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's removed now.

@LeoQuote LeoQuote requested a review from zxh326 March 2, 2026 08:53
@zxh326 zxh326 merged commit 2061b64 into juicedata:main Mar 2, 2026
1 check passed
@LeoQuote LeoQuote deleted the feat_httproute_support branch March 2, 2026 09:35
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