From 6cf11a9c72d4755cc122d49a48c5b8f582b09d4d Mon Sep 17 00:00:00 2001 From: jmaccabee13 <167723234+jmaccabee13@users.noreply.github.com> Date: Fri, 31 May 2024 04:29:55 -0400 Subject: [PATCH] fix Hetzner group names (#11232) The inventory file generated by Terraform produces the following warnings: ``` [WARNING]: * Failed to parse /kubespray/contrib/terraform/hetzner/inventory.ini with ini plugin: /kubespray/contrib/terraform/hetzner/inventory.ini:21: Section [k8s_cluster:children] includes undefined group: kube-master ... [WARNING]: Could not match supplied host pattern, ignoring: kube-master PLAY [Add kube-master nodes to kube_control_plane] ******************************************************************************************************** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: kube-node PLAY [Add kube-node nodes to kube_node] ******************************************************************************************************************* skipping: no hosts matched ``` --- contrib/terraform/hetzner/templates/inventory.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/terraform/hetzner/templates/inventory.tpl b/contrib/terraform/hetzner/templates/inventory.tpl index 56666e162..08d63693f 100644 --- a/contrib/terraform/hetzner/templates/inventory.tpl +++ b/contrib/terraform/hetzner/templates/inventory.tpl @@ -12,8 +12,8 @@ ${list_master} ${list_worker} [k8s_cluster:children] -kube-master -kube-node +kube_control_plane +kube_node [k8s_cluster:vars] network_id=${network_id}