kubernetes-sigs/cluster-api

Provide ApplyConfigurations

开放

#12,154 创建于 2025年5月6日

 (13 条评论) (0 个反应) (1 位负责人)Go (1,532 个派生)auto 404
help wantedkind/featurepriority/backlogtriage/accepted

仓库指标

星标
 (4,267 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

What would you like to be added (User Story)?

As an operator I want to provision Clusters via Go using SSA because SSA makes it easier to work together on the same resource, e.g. Clusters which get their controlPlaneEndpoint, controlPlaneRef, infrastructureRef, ... set by another operator (cluster-api).

Detailed Description

As an operator I want to provision Clusters via Go using SSA. As far as I can tell SSA is implemented via ApplyConfigurations.

Therefore, I'd like to have these provided by cluster-api.

Anything else you would like to add?

I've tested adding // +genclient to https://github.com/kubernetes-sigs/cluster-api/blob/main/api/v1beta2/cluster_types.go?plain=1#L1169 which allowed me to generate these configurations from my application, but I'm not sure how to hook into your CI and where to generate the code to, ...

Label(s) to be applied

/kind feature

贡献者指南