Skip to main content

custom-resource-wrappers

Use when wrapping a custom resource (a CRD-backed type not covered by the built-in primitives) as an operator-component-framework primitive using pkg/generic - covers choosing a resource category, mutation type aliases, implementing the mutator, extending it with editors for CRDs that carry pod templates, status handlers, suspending an external CR that destroys data when scaled down (scale-to-zero vs delete-on-suspend), an Apply rejected with "field not declared in schema", the builder, the resource type, feature mutations, component registration, and regenerating a scaffolded wrapper with ocf scaffold wrapper --force.

跳到安装

来源信息

仓库
sourcehawk/operator-component-framework
最近来源活动
2026年8月23日 18:05
检测到的 SKILL.md 语言
英语
星标
6
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。