Status is incompatible with `metav1.Condition`
还没有人认领这个 Issue。
评估
调研方向
首先定位处理具有类型为 metav1.Condition 的 conditions 字段的资源的 reconciler 和状态处理逻辑。重现 issue 中显示的验证错误,然后验证使用 metav1.Condition 的资源不再因为 Reason 和 Message 是必填项而失败。
由索引模型根据 Issue 内容生成。
描述
Currently, metav1.Condition requires Reason and Message fields to be set. This makes the reconciler impossible to use with resources using it, which is pretty standard.
type ResourceStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
Using, results in errors like:
conditions[1].message: Required value, conditions[1].reason: Required value
- 主要语言
- Go
- 星标
- 60
- 派生
- 53
- 平均合并
- 6 天 7 小时
- 30 天内合并 PR
- 5
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
operator-framework/helm-operator-plugins 的其他 Issue
-
Update to Helm 4 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 48/100
operator-framework/helm-operator-plugins#421 · 4 条评论 ·
查看 operator-framework/helm-operator-plugins 的全部 Issue
相似的 Issue
-
bug github_actions
难度 2/5 1-3 小时 新手友好度 75/100
registrystack/registry-stack#1393 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
JakeChampion/lang#10213 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
oasisprotocol/oasis-sdk#2523 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100