[FEATURE] Native Gateway API HTTPRoute support in kagent-tools Helm chart
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- helm, kubernetes
- 領域
- devops, infrastructure
調査の方向性
既存の kagent-tools chart、特に service.yaml と _helpers.tpl から始め、次に Helm unittest の規約について deployment_test.yaml と rbac_test.yaml を確認します。明示的に有効化される templates/httproute.yaml と、提案された HTTPRoute 設定に必要な values を追加し、chart の service と tools port を使用します。デフォルトで route が無効になり、要求された Gateway API フィールドをレンダリングし、tests/httproute_test.yaml でカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
The kagent-tools Helm chart currently ships service.yaml but no route/ingress resource. Please add native Gateway API HTTPRoute support to the chart.
Motivation
Clusters that have moved from Ingress to Gateway API have no supported way to expose the tools server through the chart. Today the only options are:
- maintaining a
templates/httproute.yamlin a fork/overlay of the chart, or - managing a separate
HTTPRoutemanifest outside Helm
Both drift from the chart on every upstream bump, and neither can reuse _helpers.tpl naming, labels, or the service.ports.tools port. Supporting HTTPRoute natively in the upstream chart keeps route naming, labels, and the backend service reference in sync with the rest of the chart automatically, which raises chart quality over the long run — rather than every user re-implementing the same template locally.
Proposal
Add templates/httproute.yaml guarded by a new values block, rendered only when explicitly enabled so existing installs are unaffected:
httpRoute:
enabled: false
annotations: {}
labels: {}
parentRefs: []
# - name: my-gateway
# namespace: gateway-system
# sectionName: https
hostnames: []
# - tools.example.com
rules: []
# optional override; defaults to a single rule routing "/" to the tools service port
Notes:
- Backend ref should default to the chart's own service name (
include "kagent-tools.fullname") andservice.ports.tools.port, so it stays correct through renames. apiVersion: gateway.networking.k8s.io/v1.- Ship a
tests/httproute_test.yamlcase alongside the existingdeployment_test.yaml/rbac_test.yamlhelm-unittest suites.
Happy to open a PR if the direction looks good.
- 主要言語
- Go
- スター
- 35
- フォーク
- 30
- 平均マージ
- 3日 23時間
- マージ済み PR(30日)
- 3
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kagent-dev/tools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kagent-dev/tools#54 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
kagent-dev/tools#82 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
kagent-dev/tools#69 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
kagent-dev/tools#68 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
kagent-dev/tools#60 · リアクション 1 件 ·
kagent-dev/tools の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
Bob Shell support オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
santhosh-tekuri/jsonschema#276 ·