operator-framework / operator-framework/java-operator-sdk
Removing update/patch methods from `UpdateControl`
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 944
- 派生
- 242
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 UpdateControl 及其 patchStatus 和 patchResource 方法,然后将它们的行为和 flags 与 Kubernetes 客户端和 PrimaryUpdateAndCacheUtils 进行比较。要视为完成,需要在 v6 中就移除这些方法以及是否将 UpdateControl 重命名为 ReconcileControl 作出最终决定。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, kubernetes
- 领域
- api
- Issue 类型
- 重构
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100