# ClusterAPI - ClusterClass struct names (hack session) ```yaml spec: variables: # []ClusterClassVariable - name: clusterIdentityName required: true schema: # VariableSchema openAPIV3Schema: # JSONSchemaProps type: string default: cluster-identity patches: # []ClusterClassPatch - name: clusterName definitions: # []PatchDefinition - selector: # PatchSelector apiVersion: controlplane.cluster.x-k8s.io/v1beta1 kind: KubeadmControlPlaneTemplate matchResources: # PatchSelectorMatch machineDeploymentClass: # PatchSelectorMatchMachineDeploymentClass names: - default-worker jsonPatches: # []JSONPatchDefinition - op: replace path: "/spec/template/spec/kubeadmConfigSpec/clusterConfiguration/controllerManager/extraArgs/cluster-name" valueFrom: # JSONPatchDefinitionValue variable: builtin.cluster.name ``` ```yaml spec: topology: variables: # []ClusterVariable - name: clusterIdentityName value: cluster-identity ```