add toggle to disable traefik & metric server

This commit is contained in:
jonny
2022-03-11 12:17:48 +01:00
parent 494a2a11f3
commit ac1b0b93a8
6 changed files with 25 additions and 8 deletions

View File

@@ -80,6 +80,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
@@ -98,6 +104,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"