From d66598320dd3f3bf979329780f40ceeeb6c6dfd7 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Fri, 10 Dec 2021 00:48:45 +0100 Subject: [PATCH] fixed comment --- main.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index b3899fb..aab2dcd 100644 --- a/main.tf +++ b/main.tf @@ -23,8 +23,7 @@ resource "hcloud_network_subnet" "k3s" { resource "hcloud_firewall" "k3s" { name = "k3s-firewall" - # Internal cluster traffic, kube api server, kubelet metrics, cilium, etcd, - # and Hetzner metadata service and cloud api + # Allowing internal cluster traffic and Hetzner metadata service and cloud API IPs rule { direction = "in" protocol = "tcp" @@ -92,7 +91,7 @@ resource "hcloud_firewall" "k3s" { locals { first_control_plane_network_ip = cidrhost(hcloud_network.k3s.ip_range, 2) ssh_public_key = trimspace(file(var.public_key)) - hcloud_image_name = "ubuntu-20.04" + hcloud_image_name = "ubuntu-20.04" k3os_install_commands = [ "apt install -y grub-efi grub-pc-bin mtools xorriso",