diff --git a/bootstrap/templates/kubernetes/talos/talconfig.yaml.j2 b/bootstrap/templates/kubernetes/talos/talconfig.yaml.j2 index 81838d93..24cf01c7 100644 --- a/bootstrap/templates/kubernetes/talos/talconfig.yaml.j2 +++ b/bootstrap/templates/kubernetes/talos/talconfig.yaml.j2 @@ -49,6 +49,9 @@ nodes: vip: ip: "{{ cluster.endpoint_vip }}" {% endif %} + {% if item.talos_node_config %} + {{ item.talos_node_config | indent(4, false) }} + {% endif %} {% endfor %} controlPlane: diff --git a/config.sample.yaml b/config.sample.yaml index e9a25ad6..f85d9a36 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -32,6 +32,12 @@ cluster: # controller: true # (Required) Set to true if this is a controller node # ssh_username: "" # (Required: k3s/k0s) SSH username of the node # talos_disk_device: "" # (Required: Talos) Device Path or Serial number of Disk for this node + # talos_node_config: |- # (Optional: Talos) Additional NodeConfigs to apply to this node + # schematic: # See: https://budimanjojo.github.io/talhelper/latest/reference/configuration/#nodeconfigs + # customization: + # systemExtensions: + # officialExtensions: + # - siderolabs/intel-ucode # ... # (Required) The pod CIDR for the cluster, this must NOT overlap with any # existing networks and is usually a /16 (64K IPs).