diff --git a/terraform/templates/talconfig.yaml.tpl b/terraform/templates/talconfig.yaml.tpl index 7db0805..3140895 100644 --- a/terraform/templates/talconfig.yaml.tpl +++ b/terraform/templates/talconfig.yaml.tpl @@ -2,7 +2,7 @@ clusterName: ${cluster_name} endpoint: ${cluster_endpoint} domain: ${cluster_domain} talosVersion: ${talos_version} -allowSchedulingOnMasters: false +allowSchedulingOnMasters: ${length(control_plane_nodes) == 1 ? "true" : "false"} # Network configuration clusterPodNets: @@ -177,6 +177,10 @@ nodes: patches: - |- machine: + install: + grubUseUKICmdline: false + extraKernelArgs: + - net.ifnames=0 network: nameservers: %{ for dns in dns_servers ~}