SSL overlap: move from admission-time detection to reconcile-time status condition (Gateway API OverlappingTLSConfig)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- go
- 領域
- networking
調査の方向性
関連する reconcile フローを追跡する前に、既存の admission パス(ValidateCreate/ValidateUpdate)と sslutil.HostsOverlap / ClientConfigHash のロジックを確認します。合意された Gateway API の condition と、ApisixTls および Ingress に対する同等の conditions を、決定論的な解決とドキュメント化を含めて定義します。reconciliation が重複を報告し、admission の警告が維持され、設計が関連する controller と同期されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Background
The SSL conflict detector currently runs only in the admission webhook (ValidateCreate / ValidateUpdate for Gateway, Ingress, ApisixTls). apisix-ingress-controller#2810 / api7-ingress-controller#437 changed it from denying an overlapping SSL object to emitting an admission warning, because denial was both incomplete and a backward-compatibility break (an unrelated edit to an object that already coexists with an overlapping one got rejected).
Warning at admission is only a partial answer. This issue tracks moving to a reconcile-time, Gateway-API-aligned model.
Why admission-time detection is insufficient
The webhook only fires on object create/update, so it never sees conflicts that arise from:
- a certificate rotating inside its Secret (two previously-agreeing objects diverge, no object event),
- a
GatewayProxy/IngressClasschange moving an object into a different group, - the webhook being disabled (
failurePolicy: Ignore), - objects created before the webhook was installed.
None of these produce any signal today.
Proposed direction (Gateway API OverlappingTLSConfig)
Gateway API specifies that overlapping SNIs are allowed, with the data plane serving the longest matching SNI, and v1.3 defines the OverlappingTLSConfig listener condition that controllers MUST set on overlapping listeners, with a documented tie-break (oldest creationTimestamp, then namespace/name).
- Detect overlapping TLS host/cert config during reconcile (not only admission), reusing the existing
sslutil.HostsOverlap/ClientConfigHashlogic. - Surface overlap as a status condition on the affected objects (Gateway:
OverlappingTLSConfig; define an equivalent for ApisixTls / Ingress). - Document/confirm the deterministic data-plane resolution (longest SNI; then
creationTimestamp; thennamespace/name) so operators know which certificate wins. - Keep the admission warning as an early, apply-time signal.
Scope note
This is the reconcile-side follow-up to the warn-only detector in #437 / apisix-ingress#2810. Should be synced to apisix-ingress-controller as well once the design is agreed.
- 主要言語
- Go
- スター
- 5
- フォーク
- 5
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
api7/api7-ingress-controller のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
api7/api7-ingress-controller#477 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
api7/api7-ingress-controller#462 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
api7/api7-ingress-controller#458 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
api7/api7-ingress-controller#454 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
api7/api7-ingress-controller#453 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
api7/api7-ingress-controller の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openimsdk/openim-sdk-core#1127 ·
-
github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Hochfrequenz/aibap.mcp#578 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
mvanhorn/cli-printing-press#4980 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lenaxia/LLMSafeSpaces#1644 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
automation code-quality cookie documentation improvement quick-win task-mining
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/gh-aw#67262 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信