stackabletech / stackabletech/stackablectl
Prevent installing/upgrade for a namespace when we detect an installation in another namespace
未關閉
還沒有人認領這個 Issue。
type/bug
- 主要語言
- Rust
- 星號
- 10
- 分支
- 5
- 平均合併
- 4 小時 41 分鐘
- 30 天內合併 PR
- 4
描述
From https://github.com/stackabletech/stackable-cockpit/pull/379
We might want to handle the case of:
- install release 24.11 with operator_namespace = "ns1"
- install/upgrade release 25.3 with operator_namespace = "ns2"
Because:
- The CRDs are cluster scopes, so they would be overwritten, but...
- The operators in the old NS will remain.
I'm fine with us only supporting upgrading in the same namespace (moving namespaces should probably be an uninstall and install). So I guess we'd just need to search for operators in any namespace (labels might be the safest way for detecting).
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從處理 operator_namespace 的安裝與升級入口開始,檢視 pull request 379 中討論的行為。追蹤跨 namespace 偵測現有 operator 的方式,然後驗證使用不同 namespace 進行安裝或升級會被阻止,同時仍支援在相同 namespace 中進行升級。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- kubernetes, rust
- 領域
- cli, infrastructure
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100