Add HTTPRoute support for Kubernetes Gateway API#1
Merged
hostmaster merged 10 commits intomainfrom Mar 26, 2026
Merged
Conversation
Ports kafbat#62 with all CodeRabbit review fixes applied: - Truncate resource name to 63-char limit (trunc 54 + "-httproute" suffix) - Conditionally render hostnames block only when non-empty - Fix tab indentation and remove tpl wrapping on service port (render as int) - Fix trailing --- separator to only emit when a subsequent enabled route exists Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use kafka-ui.fullname instead of Chart.Name for resource naming so nameOverride/fullnameOverride and release name are respected - Add namespace field to metadata (consistent with ingress template) - Remove unnecessary tpl calls on parentRef namespace and sectionName - Fix shouldStripPath/shouldRouteToService param type annotation: string -> bool - Add comment clarifying filter prepend order for shouldStripPath Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace release-helm.yaml with release.yaml using helm/chart-releaser-action for gh-pages index and GHCR OCI push; no manual tags or extra steps - Replace helm.yaml with lint.yaml; modernize to actions/checkout@v4, azure/setup-helm@v4; remove redundant docker pull step - Remove create-branch-for-helm.yaml (manual release prep no longer needed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Enables validation of Gateway API resources (HTTPRoute, etc.) using the datreeio CRDs-catalog alongside the default Kubernetes schemas. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Based on kafbat/helm-charts#62 with all CodeRabbit review issues addressed and additional improvements.
HTTPRoutetemplate for Kubernetes Gateway API support, enabling teams to expose kafka-ui via Gateway API alongside the existing Ingress resourcevalues.yamlwithhttpRoutesconfiguration array including hostnames, parent gateway refs, path matching, path stripping, custom filters, and timeoutsChanges
Chart
charts/kafka-ui/templates/http-route.yaml— new template generatingHTTPRouteresourcescharts/kafka-ui/values.yaml— newhttpRoutesconfiguration sectioncharts/kafka-ui/Chart.yaml— bumped version to1.6.3GitHub Actions
helm/chart-releaser-action— publishes togh-pagesindex and pushes OCI packages to GHCR automatically on merge tomainHTTPRouteand other CRDs are validated in CIUsage