[TRAEFIK] Move to NodePort

This commit is contained in:
Kat Inskip 2023-05-01 09:10:55 -07:00
parent 7f035cc032
commit 7c01d60812
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 14 additions and 19 deletions

View file

@ -10,7 +10,6 @@ variable "cluster_ca_certificate" {
type = string
}
provider "kubernetes" {
host = "https://ran.gensokyo.zone:6443"
client_certificate = var.client_certificate

View file

@ -1,16 +0,0 @@
resource "helm_release" "metallb" {
name = "metallb"
repository = "https://metallb.github.io/metallb"
chart = "metallb"
create_namespace = true
namespace = "metallb-system"
timeout = var.helm_timeout
cleanup_on_fail = true
force_update = true
values = [
yamlencode({
})
]
}

View file

@ -1,4 +1,4 @@
/*resource "helm_release" "traefik" {
resource "helm_release" "traefik" {
name = "traefik"
repository = "https://traefik.github.io/charts"
chart = "traefik"
@ -14,6 +14,18 @@
deployment = {
replicas = 1
}
ports = {
traefik = {
web = {
hostPort = 80
expose = false
}
websecure = {
hostPort = 443
expose = false
}
}
}
})
]
}*/
}