How to use CABPT via TalosConfigTemplate
mainCABPT is not used directly. Instead, it is consumed by TalosControlPlane (for control plane nodes) or MachineDeployment/MachinePool (for worker nodes) via the TalosConfigTemplate resource.
Settings are passed through the spec.template.spec (for workers) or spec.controlPlaneConfig.controlplane (for control plane) fields.
# Example for Control Plane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
kind: TalosControlPlane
metadata:
name: mycluster-cp
spec:
controlPlaneConfig:
controlplane:
generateType: controlplane
talosVersion: v1.11
# Example for Workers
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
kind: TalosConfigTemplate
metadata:
name: mycluster-workers
spec:
template:
spec:
generateType: worker
talosVersion: v1.9