add toggle to disable traefik & metric server

This commit is contained in:
jonny
2022-03-11 12:17:48 +01:00
parent 900277f645
commit 751f980a95
6 changed files with 25 additions and 8 deletions

View File

@@ -69,6 +69,12 @@ variable "hetzner_csi_version" {
description = "Version of Container Storage Interface driver for Hetzner Cloud"
}
variable "traefik_enabled" {
type = bool
default = false
description = "Whether to enable or disbale k3s traefik installation"
}
variable "traefik_acme_tls" {
type = bool
default = false
@@ -87,6 +93,12 @@ variable "allow_scheduling_on_control_plane" {
description = "Whether to allow non-control-plane workloads to run on the control-plane nodes"
}
variable "metric_server_enabled" {
type = bool
default = true
description = "Whether to enable or disbale k3s mertric server"
}
variable "initial_k3s_channel" {
type = string
default = "stable"