feat(terraform): allow scheduling on control plane k8s nodes

This commit is contained in:
2026-02-10 10:21:10 +02:00
parent 46732f1c02
commit d65245dac9

View File

@@ -60,6 +60,13 @@ data "talos_machine_configuration" "machine-config" {
cluster_endpoint = "https://${each.value.hostname}:6443" cluster_endpoint = "https://${each.value.hostname}:6443"
machine_secrets = talos_machine_secrets.secrets[each.key].machine_secrets machine_secrets = talos_machine_secrets.secrets[each.key].machine_secrets
config_patches = [
yamlencode({
cluster = {
allowSchedulingOnControlPlanes = true
}
})
]
} }
resource "talos_machine_configuration_apply" "talos-config" { resource "talos_machine_configuration_apply" "talos-config" {