feat: reuse loadbalancer for ingress

This commit is contained in:
Julian Tölle 2022-01-08 19:05:53 +01:00
parent 9e528c9b7b
commit da1b4c9082
8 changed files with 65 additions and 10 deletions

View file

@ -25,7 +25,12 @@ module "k3s" {
agent = true
}
flags = ["--disable-cloud-controller", "--tls-san ${var.domain}"]
flags = [
"--disable-cloud-controller",
"--tls-san ${var.domain}",
# We need to modify the helm release to work with one loadbalancer for api+ingress
"--disable traefik"
]
annotations = { "server_id" : i } // theses annotations will not be managed by this module
}
}