Kubernetes reference chart: no path for BReg migrations that need a --backup binding
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
Start at deploy/helm/registry-stack/README.md line 385 and the refusal in deploy/stack_operator.py line 49; then read the --backup argument construction in crates/registry-bregctl/src/lib.rs line 846 and deploy/helm/registry-stack/templates/breg-operation-job.yaml. Read tests/test_chart_contract.py and deploy/tests/test_operations.py for the chart/operator contract before choosing option 1 or 2. Done means either a values-driven backup binding rendered as --backup on plan and apply-successor with pass-through and tests, or a short deploy/OPERATIONS.md procedure for staging the file and running the Job by hand.
索引モデルが issue の本文から書いたものです。
説明
From the review of #2742, the Kubernetes reference chart under deploy/helm/registry-stack/. The chart is an unsupported reference (see its README), so this does not block anything.
What happens
A BReg successor whose plan lists requiredBackups cannot go through the chart:
deploy/stack_operator.pyrefuses the upgrade when the plan listsrequiredBackups(around line 49). The refusal is clean.templates/breg-operation-job.yamlbuilds thebregctl applyarguments with no way to pass--backup BINDING_PATH=BINDING_FILE(crates/registry-bregctl/src/lib.rs, around line 846).- The chart README (around line 385) sends the operator to the product procedure, which assumes a host shell. It does not say where the backup binding file is staged on Kubernetes or how the operation Job would read it.
So a destructive BReg migration on the reference deployment has no documented path.
Expected
One of:
- A values field for reviewed backup bindings (for example a list of
bindingPathand a file in a named, read-only claim or Secret), rendered as--backuparguments onplanandapply-successor, withstack_operator.pypassing them through instead of refusing. Tests intests/test_chart_contract.pyanddeploy/tests/test_operations.py. - Or, if that is too much for a reference, a short procedure in
deploy/OPERATIONS.md: how to stage the binding file, run the operation Job by hand with--backup, and return to the guarded upgrade path.
Option 1 keeps the operator's reconcile-first rule in one place. Option 2 is smaller.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 9時間 48分
- マージ済み PR(30日)
- 151
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
area:breg enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
registrystack/registry-stack#2765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
registrystack/registry-stack#2761 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
registrystack/registry-stack#2743 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
registrystack/registry-stack#2706 ·
メンテナーはふだん 1 日以内に返信
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
registrystack/registry-stack#2704 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
help wanted needs investigation priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tomast1337/Puppeter-PptxGenJS#440 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
n0-computer/iroh#4709 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
qingjian-team/qingjian#1114 ·
メンテナーはふだん 2 日以内に返信