Skip to content

[ClusterClass] Allow templating of pod/serviceSubnets and dnsDomain #12915

@nikParasyr

Description

@nikParasyr

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

As a operator I would like to be able to template the clusters podSubnet, serviceSubnet and dnsDomain when using clusterClass or/and RunTimeSDK. This will allow to:

  • minimize cluster definitions for our users while keeping sane defaults
  • validate various cluster subnets together with the infrastructure node subnet via XValidations/CEL/...

Detailed Description

On v1beta1 it was possible to config:

On v1beta2 these fields were removed and the only possible way to configure them is through clusterNetwork. Unfortunately these fields are not "templated" by ClusterClass/RunTimeSDK.

Anything else you would like to add?

This is a continuation of the discussion that occured here

Label(s) to be applied

/kind feature
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-priorityIndicates an issue lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions