Manage owned Service Identity and network policy inventory and cleanup

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

メンテナーはふだん 4 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kubernetes, rust

調査の方向性

Start by reading the related issues #19, #24, #27, #28, and #38 to understand the provider lifecycle, RBAC, readiness, and shared inventory work. The issue does not name source files or tests, so locate the existing Service Identity and outbound-policy entry points and their tests before defining the storage and reconciliation adapter. Done means the partial-failure, retry, ownership, drift, cleanup, and uninstall cases in Acceptance have focused tests, with foreign resources preserved and required manual cleanup reported.

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

説明

Part of the outbound-policy work (#19), feature 13 in the #38 inventory. Shared identity work coordinates with #38.

Goal

Give Service Identity and outbound policies durable, provider-neutral ownership/inventory and a recoverable lifecycle.

Infrastructure and Kubernetes resource ownership must remain distinct.

Contract and lifecycle
  • Persist installation/provider, Service/namespace/identity context, validated runtime binding, cloud inventory, and identities of approved owned Kubernetes resources.
  • Never persist token bytes, cloud credentials, or auth-cache contents in the record.
  • Use deterministic bounded names and a versioned, bounded record format; reject malformed/foreign records.
  • Apply is idempotent and can resume after interruption without adopting unrelated resources.
  • Preflight resource ownership/capability before cloud mutation when possible.
  • On newly created identity apply failure, compensate only resources created by that operation.
  • On an existing identity update failure, preserve pre-existing resources; never over-delete the existing identity.
  • Handle failures after cloud creation, Kubernetes apply, and record persistence explicitly.
  • Status detects actual cloud/cluster drift. A later apply/reconciliation can repair missing owned objects safely.
  • Delete and cluster uninstall use saved inventory, validate ownership, and remove identity/policy resources in safe dependency order.
  • Never delete external resource groups, foreign role assignments, or customer data. Surface required manual cleanup instead of reporting success.
Acceptance

Focused failure-injection tests for each partial phase, retry, collision, missing resource, role update, malformed inventory, provider unavailability, and uninstall. Verify deterministic cleanup and diagnostic errors.

Define the storage/reconciliation adapter for the future Fiberd architecture; a specific ConfigMap layout or custom new public API is not required. Coordinate with readiness #28, provider lifecycle #24, RBAC #27, and #19.

主要言語
Rust
スター
3
フォーク
2
平均マージ
3日 57分
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

hyperlight-dev/lampyr のほかの issue

hyperlight-dev/lampyr の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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