mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
37 lines
No EOL
900 B
HCL
37 lines
No EOL
900 B
HCL
resource "helm_release" "traefik" {
|
|
name = "traefik"
|
|
repository = "https://traefik.github.io/charts"
|
|
chart = "traefik"
|
|
create_namespace = true
|
|
namespace = "traefik"
|
|
|
|
timeout = var.helm_timeout
|
|
cleanup_on_fail = true
|
|
force_update = true
|
|
|
|
values = [
|
|
yamlencode({
|
|
deployment = {
|
|
replicas = 1
|
|
}
|
|
service = {
|
|
type = "NodePort"
|
|
}
|
|
ports = {
|
|
traefik = {
|
|
traefik = {
|
|
hostPort = 9000
|
|
}
|
|
web = {
|
|
hostPort = 80
|
|
expose = true
|
|
}
|
|
websecure = {
|
|
hostPort = 443
|
|
expose = true
|
|
}
|
|
}
|
|
}
|
|
})
|
|
]
|
|
} |