made cluster name prefix configurable and tweaked ways the agents random pets are created

small tweaks

small tweaks
This commit is contained in:
Karim Naufal
2022-03-05 05:33:29 +01:00
parent b93087d896
commit e6b8249846
7 changed files with 21 additions and 11 deletions

View File

@@ -80,6 +80,9 @@ load_balancer_type = "lb11"
# 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
# Prefix for the cluster name, by default "k3s"
# cluster_prefix = ""
# 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
# More info on the format here https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/firewall