stackabletech / stackabletech/stackablectl

Prevent installing/upgrade for a namespace when we detect an installation in another namespace

未关闭
#381 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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).

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从处理 operator_namespace 的安装和升级入口开始,检查 pull request 379 中讨论的行为。跟踪跨 namespace 检测现有 operator 的方式,然后验证使用不同 namespace 进行安装或升级会被阻止,同时仍支持在同一 namespace 中进行升级。

由索引模型根据 Issue 内容生成。

评估

技术栈
kubernetes, rust
领域
cli, infrastructure
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。