Add provider Service Identity lifecycle operations and runtime binding
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- kubernetes, rust
調査の方向性
Start by reading the related manifest contract #23 and the provider protocol, validator, packaging, and lifecycle code; the issue names no specific files. Trace how existing providers handle apply, status, and delete, then review the linked inventory/cleanup #31 and runtime projection #26 work. Done means the identity operations validate requests and bindings, return owned inventory and approved manifests, and pass the listed fake-provider lifecycle and failure cases.
索引モデルが issue の本文から書いたものです。
説明
Part of the Service Identity work (#38), feature 2 in its inventory.
Goal
Add infrastructure-only provider lifecycle operations for per-Service identities.
This protocol must work independently of the Azure sample and of the exact Fiberd Home architecture.
Operations and request context
Advertise and implement identity-apply, identity-status, and identity-delete as a coherent capability. Extend every provider artifact/protocol/packaging validator consistently.
Requests carry:
- installation identity and installed-provider context;
- Service name and namespace;
- the logical identity name and provider name;
- opaque provider-owned
identity.configfor apply; - saved infrastructure inventory for reconciliation/status/delete.
Validate capabilities and request shapes before mutation. An identity-aware deployment must not silently proceed with an older provider that lacks support.
Provider result contract
Return owned infrastructure inventory, optional approved Kubernetes manifests, and a validated provider-neutral runtime binding:
{
"serviceAccountName": "generated-service-account",
"namespace": "default",
"homePod": {"labels": {}, "annotations": {}},
"guestEnvironment": ["CLIENT_ID", "TENANT_ID", "TOKEN_FILE"],
"tokenFileEnvironment": "TOKEN_FILE",
"allowedTokenRoot": "/var/run/secrets/provider/tokens"
}
- Environment entries are allowed variable names, never secret values.
tokenFileEnvironmentmust name one permitted variable.- The token root must be a normalized, bounded, dedicated projected-token directory; reject traversal and broad mounts.
- Metadata cannot override Lampyr ownership/security fields.
- Fail deploy if infrastructure apply succeeds without a usable binding.
- The exact adapter into the future Fiberd architecture is a separate concern; do not make a particular CapacityGrant layout part of the cloud-provider protocol.
Authority boundaries
- Provider code performs cloud infrastructure operations only; it receives no Kubernetes credentials or unrestricted cluster client.
lyvalidates, claims, approves as appropriate, and applies returned Kubernetes resources.- Initial supported identity manifest is the generated ServiceAccount; core owns any necessary Home permissions. Do not allow arbitrary provider-generated RBAC.
- Scope manifest-return capability to identity apply and the existing legitimate lifecycle operations; do not widen all provider operations.
- Authentication cache contents remain outside artifacts, snapshots, requests, inventory, and logs.
Acceptance
- Exercise apply, repeated apply, status, role/config updates, and inventory-driven delete with a fake provider.
- Explicit readiness and terminal errors; never return success-shaped defaults.
- Cover missing capabilities, invalid bindings/manifests, ownership collisions, interrupted operations, and compensation for newly created resources.
- Preserve compatibility for providers without identity functionality when no identity is requested.
- Document operation schemas, result semantics, limits, and ownership guarantees.
Coordinate with manifest contract #23, Azure implementation #25, inventory/cleanup #31 and runtime projection #26.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 2
- 平均マージ
- 3日 57分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperlight-dev/lampyr のほかの issue
-
a-needs-info dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyperlight-dev/lampyr#49 ·
メンテナーはふだん 4 日以内に返信
-
a-needs-info
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
hyperlight-dev/lampyr#34 ·
メンテナーはふだん 4 日以内に返信
-
Provision production AKS ingress DNS and TLS対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hyperlight-dev/lampyr#76 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hyperlight-dev/lampyr#75 ·
メンテナーはふだん 4 日以内に返信
-
a-needs-info enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
hyperlight-dev/lampyr#55 ·
メンテナーはふだん 4 日以内に返信
hyperlight-dev/lampyr の issue をすべて見る
似ている issue
-
bug P2: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vfarcic/dot-agent-deck#2512 ·
メンテナーはふだん 1 日以内に返信