fixed comment
This commit is contained in:
parent
d12b3c0dfd
commit
d66598320d
5
main.tf
5
main.tf
@ -23,8 +23,7 @@ resource "hcloud_network_subnet" "k3s" {
|
|||||||
resource "hcloud_firewall" "k3s" {
|
resource "hcloud_firewall" "k3s" {
|
||||||
name = "k3s-firewall"
|
name = "k3s-firewall"
|
||||||
|
|
||||||
# Internal cluster traffic, kube api server, kubelet metrics, cilium, etcd,
|
# Allowing internal cluster traffic and Hetzner metadata service and cloud API IPs
|
||||||
# and Hetzner metadata service and cloud api
|
|
||||||
rule {
|
rule {
|
||||||
direction = "in"
|
direction = "in"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
@ -92,7 +91,7 @@ resource "hcloud_firewall" "k3s" {
|
|||||||
locals {
|
locals {
|
||||||
first_control_plane_network_ip = cidrhost(hcloud_network.k3s.ip_range, 2)
|
first_control_plane_network_ip = cidrhost(hcloud_network.k3s.ip_range, 2)
|
||||||
ssh_public_key = trimspace(file(var.public_key))
|
ssh_public_key = trimspace(file(var.public_key))
|
||||||
hcloud_image_name = "ubuntu-20.04"
|
hcloud_image_name = "ubuntu-20.04"
|
||||||
|
|
||||||
k3os_install_commands = [
|
k3os_install_commands = [
|
||||||
"apt install -y grub-efi grub-pc-bin mtools xorriso",
|
"apt install -y grub-efi grub-pc-bin mtools xorriso",
|
||||||
|
Loading…
Reference in New Issue
Block a user