operator-framework / operator-framework/java-operator-sdk

Removing update/patch methods from `UpdateControl`

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

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

主要言語
Java
スター
944
フォーク
242
平均マージ
1日 4時間
マージ済み PR(30日)
43

説明

For v6 we should consider removing the methods from UpdateControl like patchStatus , patchResource etc.

The reason is that it could be rather confusing how those methods exactly do in the background, since we have flags to control their behavior - if they should use Server Side Apply or not for example.

Users can use the directly the Kubernetes client and/or utilities like PrimaryUpdateAndCacheUtils.

We might want to also rename UpdateControl to ReconcileControl.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず UpdateControl とその patchStatus および patchResource メソッドを見つけ、次にそれらの動作とフラグを Kubernetes クライアントおよび PrimaryUpdateAndCacheUtils と比較します。完了とするには、これらのメソッドを削除するか、UpdateControl を ReconcileControl に改名する可能性について、v6 で結論を出す必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, kubernetes
領域
api
issue の種類
リファクタリング
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。