diff --git a/terraform.tfvars.example b/terraform.tfvars.example index c7e3e0b..b732636 100644 --- a/terraform.tfvars.example +++ b/terraform.tfvars.example @@ -77,8 +77,8 @@ load_balancer_type = "lb11" # Allows you to specify either stable, latest, or testing (defaults to stable), see https://rancher.com/docs/k3s/latest/en/upgrades/basic/ # initial_k3s_channel = "latest" -# Whether to use the cluster name in the node name, i.e. add the prefix k3s-(cluster_name)- to the nodes? The default is "false". -# use_cluster_name_in_node_name = true +# Whether to use the cluster name in the node name, i.e. add the prefix k3s-(cluster_name)- to the nodes? The default is "true". +# use_cluster_name_in_node_name = false # Adding extra firewall rules, like opening a port # In this example with allow port TCP 5432 for a Postgres service we will open via a nodeport diff --git a/variables.tf b/variables.tf index 837bcdb..029ca59 100644 --- a/variables.tf +++ b/variables.tf @@ -123,6 +123,6 @@ variable "extra_firewall_rules" { variable "use_cluster_name_in_node_name" { type = bool - default = false + default = true description = "Whether to use the cluster name in the node name" }