Use yaml list for disabled k3s features

Co-authored-by: Marco Nenciarini <mnencia@kcore.it>
This commit is contained in:
Paul Haerle 2022-02-08 14:14:23 +01:00 committed by GitHub
parent af78d8fc86
commit 4f6812a59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ resource "hcloud_server" "first_control_plane" {
node-name = self.name node-name = self.name
cluster-init = true cluster-init = true
disable-cloud-controller = true disable-cloud-controller = true
disable = "servicelb, local-storage" disable = ["servicelb", "local-storage"]
flannel-iface = "eth1" flannel-iface = "eth1"
kubelet-arg = "cloud-provider=external" kubelet-arg = "cloud-provider=external"
node-ip = local.first_control_plane_network_ip node-ip = local.first_control_plane_network_ip