Enhance APIProduct status to provide discovered policy names in structured format

オープン
#33 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
api

調査の方向性

まず、Go の APIProduct ステータス型と、AuthPolicyDiscovered condition を設定するコードを見つけます。Kubernetes のステータスフィールドがどのように表現されているか、また Backstage plugin が現在 condition message をどのように解析しているかを確認します。検出された policy 名が構造化されたステータスフィールドで公開され、frontend が人間向けのテキストを解析する必要がなくなり、選択した API 変更に従って互換性が処理されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue
Problem

Currently, the frontend (backstage plugin) must parse the AuthPolicy name from the human-readable AuthPolicyDiscovered condition message string. This is fragile and error-prone.

- lastTransitionTime: "2026-02-27T14:30:22Z"
  message: Discovered AuthPolicy toystore targeting HTTPRoute toystore
  reason: Found
  status:"True"
  type: AuthPolicyDiscovered

The function used in frontend:

const parseNameFromMessage = (value: string) => {
    const parts = value.split(' ');
    return parts.length >= 3 ? parts[2] : '';
};

The ask is to enhance the APIProduct status to include discovered policy names in a structured format. Preferably this should be implemented without breaking backwards compatibility, though this is not a strong requirement. Since we're working with v1alpha1 APIs, breaking changes are acceptable according to Kubernetes API conventions.

主要言語
Go
スター
3
フォーク
15
平均マージ
1日 21時間
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Kuadrant/developer-portal-controller のほかの issue

Kuadrant/developer-portal-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。