stackabletech / stackabletech/stackablectl

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

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

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

type/bug
主要言語
Rust
スター
10
フォーク
5
平均マージ
4時間 41分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。