Manage least-privilege Kubernetes permissions for Service Identity accounts
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- kubernetes, rust
調査の方向性
Read the Fiberd overhaul and the related issues #24, #26, #31, and #38 first; the issue says the permission model may change, so exact roles and Pod topology are unresolved. Then trace where core manages ServiceAccounts, RBAC, owned inventory, status, and identity deletion. Done means custom identities retain required runtime permissions, escalation and ownership collisions are rejected, drift is reported, cleanup removes only owned resources, and negative tests show no general Kubernetes API access.
索引モデルが issue の本文から書いたものです。
説明
Part of the Service Identity work (#38), feature 8 in its inventory.
Goal
Allow a generated application-identity ServiceAccount to run the platform execution host without granting broader Kubernetes authority.
Review against the Fiberd overhaul before fixing exact role names or Pod topology.
Requirements
- Replacing a default execution-host ServiceAccount with a provider-generated account must not break required platform permissions.
- Core, not cloud-provider code, owns the necessary Kubernetes RBAC.
- Reuse narrowly scoped platform roles rather than synthesizing broad rules from provider input.
- The initial specification uses deterministic namespaced RoleBinding and ClusterRoleBinding resources referencing existing Home roles; the namespace role is restricted to the intended namespace resource name.
- Treat those objects as a starting design, not a commitment if the new Fiberd model removes or changes the permissions.
- Require exact role references, expected namespace, and a single intended ServiceAccount subject.
- Never accept provider-returned arbitrary Role/ClusterRole/binding resources or an input role reference that permits escalation.
- Validate ownership/name collisions before cloud mutation where possible.
- Track generated ServiceAccount and bindings in owned inventory; surface missing/drifted objects in status and remove them on identity deletion/uninstall.
- Initial namespace scope may be default-only if that matches existing product support; fail clearly instead of applying partially in unsupported namespaces.
Acceptance
- Custom identity ServiceAccount supports the required runtime/platform lifecycle.
- Foreign subjects/roles, broad permissions, and ownership collisions are rejected.
- Status identifies the exact missing binding; cleanup removes only owned resources.
- Negative tests prove application identity does not acquire general Kubernetes API access.
Coordinate with provider identity #24, projection #26, and inventory #31. Implementation must follow the new Fiberd permission model.
- 主要言語
- 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 日以内に返信