Skip to content

Commit d75eb3b

Browse files
feat(kubernetes): add per-node-group worker image source selector
Introduce a WorkerImage union on NodeGroup so each node group can choose its worker OS image source explicitly: - image.factory{version,schematicID,imageFactoryURL} - import over HTTP from an Image Factory / mirror (the default when image is omitted); - image.builtin{schematicID,version} - CDI-clone a golden from the opt-in worker image catalog in cozy-public. All fields default to the cluster-wide talos.* values. This commit adds the API plus the regenerated schema, CRD, Go types, and deepcopy. The WorkerImage doc states the real rollout contract: a group with image omitted renders identically to the pre-feature chart (adoption rolls no worker), while editing an existing group's image re-images that group. The factory imageFactoryURL doc notes it redirects only the boot disk, not the cluster-wide installer repository. Assisted-By: Claude <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent d8ce521 commit d75eb3b

6 files changed

Lines changed: 165 additions & 24 deletions

File tree

‎api/apps/v1alpha1/kubernetes/types.go‎

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎api/apps/v1alpha1/kubernetes/zz_generated.deepcopy.go‎

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)