diff --git a/kube.tf.example b/kube.tf.example index a5906533..533a9457 100644 --- a/kube.tf.example +++ b/kube.tf.example @@ -224,6 +224,14 @@ module "kube-hetzner" { # You can enable cert-manager (installed by Helm behind the scenes) with the following flag, the default is "false". # enable_cert_manager = true + # IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner, defaults to ["1.1.1.1", " 1.0.0.1", "8.8.8.8"]. + # For rancher installs, best to leave it as default. + # dns_servers = [] + + # When this is enabled, rather than the first node, all external traffic will be routed via a control-plane loadbalancer, allowing for high availability. + # The default is false. + # use_control_plane_lb = true + # You can enable Rancher (installed by Helm behind the scenes) with the following flag, the default is "false". # When Rancher is enabled, it automatically installs cert-manager too, and it uses rancher's own self-signed certificates. # See for options https://rancher.com/docs/rancher/v2.0-v2.4/en/installation/resources/advanced/helm2/helm-rancher/#choose-your-ssl-configuration @@ -235,9 +243,9 @@ module "kube-hetzner" { # IMPORTANT: Rancher's install is quite memory intensive, you will require at least 4GB if RAM, meaning cx21 server type (for your control plane). # enable_rancher = true - # When Rancher is deployed, by default is uses the "stable" channel. But this can be customized. - # The allowed values are "stable", "latest", and "alpha". - # rancher_install_channel = "latest" + # When Rancher is deployed, by default is uses the "latest" channel. But this can be customized. + # The allowed values are "stable" or "latest". + # rancher_install_channel = "stable" # Here you can set the Rancher hostname, the default is "rancher.example.com". # It is a required value when using rancher, but up to you to point the DNS to it or not. diff --git a/variables.tf b/variables.tf index bcb0d95c..e030f281 100644 --- a/variables.tf +++ b/variables.tf @@ -211,12 +211,12 @@ variable "enable_rancher" { variable "rancher_install_channel" { type = string - default = "stable" + default = "latest" description = "Rancher install channel" validation { - condition = contains(["stable", "latest", "alpha"], var.rancher_install_channel) - error_message = "The allowed values for the Rancher install channel are stable, latest, or alpha." + condition = contains(["stable", "latest"], var.rancher_install_channel) + error_message = "The allowed values for the Rancher install channel are stable or latest." } } @@ -273,4 +273,4 @@ variable "extra_packages_to_install" { type = list(string) default = [] description = "A list of additional packages to install on nodes" -} \ No newline at end of file +}